This is a migrated thread and some comments may be shown as answers.

Collapsing a group on a paged grid is not pulling the next records

1 Answer 161 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Leonardo
Top achievements
Rank 1
Iron
Leonardo asked on 17 Sep 2020, 04:52 AM

Hi,

I have a grid where the user can create groups by dragging the title of the column. This grid is paged by 20 records, but it can be changed, there are 5 different page sizes.

When the user creates a group, it will show only the 20 records for the group. But, I expect that when the user collapses the group, it brings the next group and shows the next 20 records from the next group. Is this possible? Nowadays, it just collapses the current group and leaves an empty space. See the picture attached.

 

 

1 Answer, 1 is accepted

Sort by
-1
Eyup
Telerik team
answered on 21 Sep 2020, 09:14 AM

Hi Leonardo,

 

Indeed, this is default behavior:
https://demos.telerik.com/kendo-ui/grid/aggregates

And it is rather expected since the paging is happening before grouping in the datasource instance:
https://www.telerik.com/forums/grouping-with-pagination-only-shows-groups-on-the-first-page

I am afraid there is no feasible way to achieve this requirement. As an alternative, you can check the following Kendo UI TreeList sample:
https://demos.telerik.com/kendo-ui/treelist/client-side-paging

Changing this will require a big overhaul in the internal logic and also may lead to breaking changes. Nevertheless, you can log this idea in our Public Portal and if there are significant demand, our Dev team may consider it via a property:
https://feedback.telerik.com/kendo-jquery-ui

 

Regards,
Eyup
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Grid
Asked by
Leonardo
Top achievements
Rank 1
Iron
Answers by
Eyup
Telerik team
Share this question
or