As I mentioned in another forum post yesterday, I am attempting to run a schedule with multiple drag sources.
For the most part this had been successful, however, I have come to a stopping point with it. My 2nd drag source is not populated with a readUrl, but instead, I just set the data of the store on a call back function from my own API.
For the most part, this works great, with the exception that the listener on the store of my new Grid never fires. and as a result, the scheduler store for the list of items in my 2nd list is never populated with its options.
Here is the code I am referring to:
this.equipmentGrid2 = new EmployeeGrid({
id: 'equipment2',
appendTo: 'teamMembers',
eventStore: this.schedule.events,
store: {
modelClass: Task,
//autoLoad: true,
data: this.resources,
sorters: [
{ field: 'name', ascending: true }
],
listeners: {
load: (event) => {
//THIS NEVER FIRES
this.schedule.employeeStore = event.source;
}
}
}
});
Any Advice is appreciated