Page 1 of 1

Scheduler Resources/Events paging

Posted: Thu May 30, 2019 9:19 am
by md@dewise.com
Hi,
Is it possible to do paging in scheduler? I'm using it for angular 7. If it possible, can you provide me some sample code or documentation about it?



Thanks

Re: Scheduler Resources/Events paging

Posted: Thu May 30, 2019 9:26 am
by mats
Not supported but coming later this year

Re: Scheduler Resources/Events paging

Posted: Mon Dec 02, 2019 6:12 pm
by jeffrey1994
mats wrote: Thu May 30, 2019 9:26 am Not supported but coming later this year
Is this supported already? I see Grid has an example for pagination https://www.bryntum.com/examples/grid/paged/

Can we add this PagingToolbar to the schedulers resource grid?

Re: Scheduler Resources/Events paging

Posted: Tue Dec 03, 2019 11:25 am
by sergey.maltsev

Re: Scheduler Resources/Events paging

Posted: Tue Dec 03, 2019 4:33 pm
by jeffrey1994
sergey.maltsev wrote: Tue Dec 03, 2019 11:25 am Hi!

Yes it is supported via Pagination in
https://www.bryntum.com/docs/grid/#Common/data/AjaxStore

Also you could check this toolbar
https://www.bryntum.com/docs/grid/#Common/widget/PagingToolbar
How can we add the PagingToolbar to the Scheduler?
Or rather what I mean is, how can we add it to the resource grid like so:
Untitled.png
Untitled.png (66.05 KiB) Viewed 1937 times

Re: Scheduler Resources/Events paging

Posted: Tue Dec 03, 2019 5:11 pm
by jeffrey1994
Also does the CrudManager not support pagination? I tried supplying it with a resource store with these settings. It doesn't seem to do anything.
{
    pageSize: 100,
    pageParamName: 'page',
    pageSizeParamName: 'pageSize',
}
Adding sortParamName seems to break sorting as well, simply does nothing when you click a column.

EDIT:
Looking through the source code and it seems you guys haven't implemented pagination or remote sorting/filtering in the CrudManager yet. Is this planned to be added soonish?

We want pagination support and remote sorting and if we want to add this now I think we would have to basically create our own CrudManager and manage AjaxStore's which is not really something we want to do :cry:

Re: Scheduler Resources/Events paging

Posted: Fri Dec 06, 2019 12:00 pm
by saki
Although the Grid already supports paging, the priorities have shifted a bit and the paging support in Scheduler will probably not happen before Q3 next year.

Should paging be a critical part of your project we can also offer Professional Services here: https://www.bryntum.com/services/