Support Article
Sorting is not working in Grid Repeat Layout
SA-2917
Summary
You are using a Grid Repeat layout with a Report Definition as the source. Sorting does not work for all columns. You do not see the sorting icon beside the columns.
Error Messages
No Error Message.
Steps to Reproduce
- Drag a Grid Repeat Layout in a section rule
- Select Report Definition as a Source
- Enable the Sorting Checkbox
Root Cause
The root cause of this problem is a defect in Pegasystems code. Check the sorting check box in the layout column properties. After doing this the sorting icon is visible but it is not doing the actual work.
Resolution
The explanation for this behavior is as follows:
In the case of simple Top/Bottom N list reports, we will explicitly order the result set only on rank number. The sort order specified for each list field on the report definition will be ignored.
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.