Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite image requests in vertical demo #119

Closed
matsbryntse opened this issue Dec 20, 2019 · 0 comments
Closed

Infinite image requests in vertical demo #119

matsbryntse opened this issue Dec 20, 2019 · 0 comments
Assignees
Labels
bug Something isn't working high-priority Urgent to have fixed resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@matsbryntse
Copy link
Member

matsbryntse commented Dec 20, 2019

http://lh/bryntum-suite/scheduler/examples/vertical/

Set
resourceImagePath : './',

Screenshot 2019-12-20 at 11 05 09

```

/* eslint-disable no-unused-vars */
import '../_shared/shared.js'; // not required, our example styling etc.
import '../../lib/Scheduler/feature/TimeRanges.js';
import '../../lib/Scheduler/feature/ResourceTimeRanges.js';
import Scheduler from '../../lib/Scheduler/view/Scheduler.js';
import WidgetHelper from '../../lib/Core/helper/WidgetHelper.js';
import DateHelper from '../../lib/Core/helper/DateHelper.js';

let scheduler;

scheduler = new Scheduler({
adopt : 'container',
minHeight : '20em',

mode : 'vertical',

crudManager : {
    autoLoad  : true,
    transport : {
        load : {
            url : 'data/data.json'
        }
    }
},

startDate      : new Date(2019, 11, 23),
endDate        : new Date(2019, 11, 28),
viewPreset : 'dayAndWeek',
barMargin      : 5,
resourceMargin : 5,
eventStyle     : 'colored',
tickSize       : 140,
resourceImagePath : './',

features : {
    timeRanges : {
        enableResizing      : true,
        showCurrentTimeLine : true
    },
    resourceTimeRanges : true
},

resourceColumns : {
    columnWidth : 300
    //headerRenderer : ({ resourceRecord }) => `${resourceRecord.id} - ${resourceRecord.name}`
},

eventRenderer : ({ eventRecord }) => `
    <div class="time">${DateHelper.format(eventRecord.startDate, 'LT')}</div>
    <div class="name">${eventRecord.name}</div>
`

});

@matsbryntse matsbryntse added bug Something isn't working high-priority Urgent to have fixed labels Dec 20, 2019
@isglass isglass added this to the Scheduler 3.0.1 milestone Dec 20, 2019
@SergeyMaltsev SergeyMaltsev self-assigned this Dec 27, 2019
@SergeyMaltsev SergeyMaltsev added the ready for review Issue is fixed, the pull request is being reviewed label Dec 31, 2019
@SergeyMaltsev SergeyMaltsev added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Jan 13, 2020
@SergeyMaltsev SergeyMaltsev modified the milestones: Scheduler 3.0.1, 3.0.1 Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority Urgent to have fixed resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

4 participants