Pagination issue in Grid with expandable rows

Hello everyone. I am experiencing an issue with grid pagination. We have the main grid sourced by a page list property that has pagination, and in the main grid we have it set to expandable rows. The sub grid that gets launched when you expand the row is also sourced from a page list property and has pagination as well.

The issue we are experiencing is if the main grid returns multiple rows, and i expand one of these rows, while the row is expanded, if the page gets refreshed either manually or by some action, then the remaining lines of the main grid after the expanded row disappear and the sub grid pagination also breaks. Has anyone experienced anything like this before but found a resolution?

Thank you!

Solved via a Pega ticket. This is a known limitation with nested grids, especially when both grids have pagination. It can cause some UI issues. We were provided two options and option #2 seems to be working for our scenario.

  • Option 1: Disable pagination in either the outer or the inner grid.
  • Option 2: Move the nested grid into a dynamic layout and enable Defer load for that layout.