Support Article
Pagination does not work when data source is a datapage
SA-2392
Summary
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
- Drag and drop a grid control
- Set the data source to a property
- Configure a data page which gets populated with a list of data. The output should be of type Code-Pega-List
- Display the results in a grid
- 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.
Resolution
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.