Our state of the art Gantt chart


Post by faiyaz@newscred.com »

Hi,

We have a tree gantt structure and we have already successfully implemented server side pagination on the root elements, basically we use buttons outside of the gantt that loads the next set of data.
Since we have a tree structure, we use a separate api call when we expand our parent and that way load the child data by making a separate api call with the parentId. We want to paginate this either using a load on scroll or add a button at the end of the subtee cell to load more data for the subtree.
Loading on scroll would look more seamless and would require fewer user interaction. Is there any recommended way of doing pagination in bryntum gantt.

Thanks


Post by mats »

Tree paging is not recommended for our Gantt chart. We require all data to exist in the browser since our calculation engine needs to see the full picture as it recalculates the schedule.


Post by faiyaz@newscred.com »

If we have a million data it's not feasible to fetch all the data in one network call, hence pagination is recommended in those situations. We are not using any of the calculation engines, we are using gantt for representation and some inline CRUD operations in the future. I would suggest you guys add pagination. Is it possible to fire custom events from the cells, that would solve the pagination for us.


Post by mats »

Is it possible to fire custom events from the cells, that would solve the pagination for us

What sort of custom events are you looking for? These are the events currently published: https://bryntum.com/docs/grid/#Grid/view/Grid#events


Post Reply