Support Article
Sorting in List view is not working correctly
SA-28829
Summary
The user has a list view and used a "Categorized By" option available in Organize tab and also selected Sort option. Now at run time while selecting sort option in one column, the columns after the selected column are automatically being sorted.
Error Messages
Not applicable
Steps to Reproduce
- Create one list view
- Select "Enable Sort" option
- Select "categorize by" option on any available column
- Save the list view
- Run the list view and sort one column in it, then you will get sorted values in the columns that are at right side of selected column
Root Cause
The reported behavior is expected and is as per design. On performing sort on a list view column, the corresponding group by columns will also be sorted. This can be observed in the query passed.
Resolution
As list views and summary views are deprecated in the future versions of Pega, it is recommended to use Report Definition. Use Report Definition-backed Repeat Grids instead of Embedded List Views to take advantage of the latest HTML5 capabilities including cross-browser and cross-platform compatibility, access to the latest HTML markup, and improved performance.
Published October 7, 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.