Indeed removing suspendEvents display the missing row resource information missing. But now is trying to save all data added. My code is like this. Every x seconds he will check if i need to save something for the three stores:
I have the same issue with timeRanges. There are not display on Gantt. That's was working in version 5.6.7 with the code i have give you. Indeed, i need to zoom in or out to show it (as in the video).
To track data change stores have change event, why do you need to check it manually?
I have the same issue with timeRanges. There are not display on Gantt. That's was working in version 5.6.7 with the code i have give you. Indeed, i need to zoom in or out to show it (as in the video).
We need a test case to help with that. I can't know what's wrong without the code, unfortunately.
this._scheduler.crudManager.on({
// Called for data changes that are persistable
async hasChanges() {
const { changes } = this as any;
let t = changes;
await context.save();
}
});
is triggered when fill data with
await this.eventStore.loadDataAsync(data);
I don't know why. How i can stop listening will filling data?
We are bit lost here. Can you please explain the use case that you are trying to achieve with hasChanges function? As Alex mentioned, our stores has change event, where you can keep track of the changes and perform corresponding actions. Can't assist you without reproducing this issue? Can you try your config in this example https://bryntum.com/products/schedulerpro/examples-scheduler/timeranges/ and see if it reproducible? If yes please share the update example code. Otherwise you can remove the extra code from project to minimize it to minimum config where we can reproduce this issue and share us here as a zipped file or on our email support@bryntum.com.