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

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

  1. Create one list view
  2. Select "Enable Sort" option
  3.  Select "categorize by" option on any available column
  4. Save the list view
  5.  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

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