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

Incorrect results display when sorting the Currency column

SA-55696

Summary



Incorrect results display when sorting the Currency column in a repeating grid.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Log in to the application
  2. Configure a repeating grid heading that is enabled for sorting the values
  3. Click the 'Charges' column header to sort


Root Cause



An issue in the custom application code or rules. The .Charges property represented by the grid column is of type Text.
The corresponding data type of the database column is varchar.



Resolution



Here’s the explanation for the reported behavior:

The grid sort is accomplished by retrieving the results from the database with an 'ORDER BY' clause on the sort column. Since the column data type is varchar, the values are sorted as strings.

 

Suggest Edit

Published July 23, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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