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

2 posts, 0 answers
  1. Leonardo
    Leonardo avatar
    2 posts
    Member since:
    Sep 2018

    Posted 16 Sep 2020 Link to this post

    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.

     

     

  2. Eyup
    Admin
    Eyup avatar
    4074 posts

    Posted 21 Sep 2020 Link to this post

    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).

Back to Top