Our pure JavaScript Scheduler component


Post by venkateswara raju »

Deare Bryntum team,

Is there any apis(listers/feature function) which will trigger when the scroll bar comes close to the start/end edges of the horizantal scrollable area, so that can initiate a function to load event data from the server(or any dats source), if we enabled infiniteScroll in scheduler component.

we are trying to implement pagination, can not load entire data upfront because number of rows(resources/events data) will be larger.

will be appreciated if provided an example with solution suggested

thanks and Regards,
Venkat


Post by alex.l »

Hi Venkat,

The event you should use to load events for the next range is https://bryntum.com/docs/scheduler/#Scheduler/data/mixin/EventStoreMixin#event-loadDateRange

Fired when a range of events is requested from the getEvents method.

We have very basic example here, in shows when that event is triggered, so put your data request in there
https://bryntum.com/examples/scheduler/infinite-scroll/

All the best,
Alex


Post Reply