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
375
Grid Grouping Removed After Page Size Changed
posted

I think I've found a bug in the igGrid. When you have grouped column(s) and you change the page size, the grouping disappears. Is this intended behaviour?

See the screenshot attached of before and after the change of page size.

Parents
No Data
Reply
  • 6279
    Verified Answer
    posted

    Hi Stephen,

    This is actually the expected behavior when the page size is changed because doing so is considered a sort of control state invalidation.

    Thus, the control has to shrug off any current state that it may have such as sorted, grouped or filtered columns.

    If you wish to preserve the grouping state of a column after such an invalidation has occurred, I can suggest hooking to the igGridPaging feature's pageSizeChanged event and in the event handler calling the groupByColumn API method of the igGridGroupBy feature.

    Hope this helps.

    Cheers,
    Borislav 

Children
No Data