Hi,
In our angular application we are using the NGRX/store to bind the data with bryntum scheduler. With smaller no of events everything is fine. But as no of events >= 1000 we are facing the following problems
- Very slow scheduler performance
- All the events suddenly disappear from scheduler (It's very weird issue only happens randomly but with large data only. Our accounts having smaller events are not facing this issue)
More insights: - Version of bryntum scheduler that we are using is 5.3.1
- We are using the 1 day, 1 week, 4 weeks view presets. Depending on the visible data range we are querying our ngrx/store only get the events within that range, and then we are setting the events property. the above issues are only we are facing with 4 weeks view preset might be due to large events (1000 to 2000).
We are not using the scheduler infinite scroll feature.
I am going to attach chrome performance profile that might help you to debug the blocking code.
Let me know if you need anything further, your help will be appreciated as it's continuously problem for us.
<bryntum-scheduler [assignments]="assignmentsData" [barMargin]="5" [cellMenuFeature]="false"
[columns]="schedulerConfig.columns" [createEventOnDblClick]="false"
[eventDragCreateFeature]="false" [autoAdjustTimeAxis]="false"
[eventDragFeature]="true" [preserveScrollOnDatasetChange]="true"
[preserveFocusOnDatasetChange]="true"
[snapRelativeToEventStartDate]="true"
[eventResizeFeature]="false" [eventDragSelectFeature]="false" [eventMenuFeature]="false"
(onEventDrag)="onEventDrag($event)" (onEventDragStart)="onEventDragStart($event)"
(onAfterEventDrop)="onAfterEventDrop($event)"
(onBeforeEventDropFinalize)="onBeforeEventDropFinalize($event)"
(onEventDrop)="onEventDrop($event)" [eventRenderer]="fullSchedulerEventRenderer"
[eventStyle]="'colored'"
(onCellClick)="onSchedulerColumnsClick($event)"
[events]="eventsData" [features]="schedulerConfig.features" [fillTicks]="fillTicks"
[resources]="resourcesData" [rowHeight]="rowHieght" [scheduleMenuFeature]="false"
[timeAxisHeaderMenuFeature]="false" [viewPreset]="defaultViewPreset"
[zoomOnMouseWheel]="false" [snap]="true"
[enableRecurringEvents]="true" [transitionDuration]="0" [zoomOnTimeAxisDoubleClick]="false"
(onScheduleClick)="onCellClick($event)"
(onTimeAxisHeaderClick)="onTimeAxisHeaderClick($event)"
[visibleDate]="schedulerConfig.visibleDate" [startDate]="startDate" [endDate]="endDate">
</bryntum-scheduler>