Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Grouping items in data table does not readjust page size
posted

If I use the pagination and grouping feature for IgxGrid, the pages do not adjust as things are grouped together.   For instance if I set page size to 10 and there are 50 items, there are 5 pages.

If those 50 items were in 3 groups, and I consolidated each of the three groups, I would expect there to be only one page.

However, the grid still has 5 pages and one must go through all 5 pages to go through the 3 groups.

Any ideas ?

Parents
  • 320
    Offline posted

    Hello,

    Thank you for contacting Infragistics Support.

    In the Igx Grid, the paging is calculated over the data row records, so when the grouping is applied, the group rows are not calculated and also keep in mind that when you collapse a group row, the hidden rows are still part of your data source. so expanding or collapsing group rows does not affect the page count/page size. You can read the Group By Specification to understand in deep how and why the grouping is intended to work with the other grid's features.

    If you need any further assistance, please contact us.

Reply Children