Can you please provide a runnable test case to let me check the code? Attach a zip-archive with your code. Do not forget to remove Scheduler and Ext sources!dyzio163 wrote:Im using full version of scheduler 5.0.4 and Ext 6.2.1 trial version. I have "packages" folder with bryntum scheduler package in my app directory.
Support Forum
Pavlo Miklashevych
Sr. Frontend Developer
I've started from scratch and now it's working but I have another issue. My scheduler component doesn't render events, also starte date is not correct. Here how it looks:
Code:Ext.define("RoomPlanner.view.main.Scheduler", {
extend: "Sch.panel.SchedulerGrid",
xtype: "configurationscheduler",
requires : [
'Sch.panel.SchedulerGrid'
],
height: 800,
title : 'Room planner',
viewPreset : 'weekAndDay',
startDate: new Date(2017, 0, 1),
endDate: new Date(2017, 0, 14),
resourceStore : {
type : 'resourcestore',
sorters : {
property : 'Name',
direction : 'ASC'
},
data : [
{ Id : 'r1', Name : 'Mike' },
{ Id : 'r2', Name : 'Linda' },
{ Id : 'r3', Name : 'Don' },
{ Id : 'r4', Name : 'Karen' },
{ Id : 'r5', Name : 'Doug' },
{ Id : 'r6', Name : 'Peter' }
]
},
eventStore : {
type : 'eventstore',
model : 'Sch.model.Event',
data : [
{
ResourceId : 'r1',
StartDate : new Date(2017, 0, 1, 10),
EndDate : new Date(2017, 0, 1, 12)
},
{
ResourceId : 'r2',
StartDate : new Date(2017, 0, 1, 12),
EndDate : new Date(2017, 0, 1, 13)
},
{
ResourceId : 'r3',
StartDate : new Date(2017, 0, 1, 14),
EndDate : new Date(2017, 0, 1, 16)
},
{
ResourceId : 'r6',
StartDate : new Date(2017, 0, 1, 16),
EndDate : new Date(2017, 0, 1, 18)
}
]
}
});
Your test case is not runnable. You forgot to include .sencha folder.
<import file="${basedir}/.sencha/app/build-impl.xml"/> is missing.
I need to add Ext and Bryntum's packages. Then execute 'sencha app build'. Logs are green and I can run your test case.
Can you please ensure that your test case is ready to use?
<import file="${basedir}/.sencha/app/build-impl.xml"/> is missing.
I need to add Ext and Bryntum's packages. Then execute 'sencha app build'. Logs are green and I can run your test case.
Can you please ensure that your test case is ready to use?
Pavlo Miklashevych
Sr. Frontend Developer