Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pagination does not work when data source is a datapage



You configured a grid control to source the data from a Property. The property is a Data Page. It works fine when you display the first page of the results. When you try to view the contents of subsequent pages (i.e. pagination), it still shows the data on the first page.

Steps to Reproduce

  1. Drag and drop a grid control 
  2. Set the data source to a property
  3. Configure a data page which gets populated with a list of data. The output should be of type Code-Pega-List
  4. Display the results in a grid 
  5. Click on the second or subsequent page of the results

Root Cause

The root cause of this problem is a defect in customer application code. ReportDefinitions don't support pagination if sourced by a data page so if the 
grid is sourced from a data page then paging won't work.



If the grid is sourced from a data page, which in turn sourced from ReportDefinition then the ReportDefinition
pagination is not honored. Because of this limitation, Developer had to use ReportDefinition ​directly as a source for the grid, then it will work fine.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us