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

The word "Any" is not sorted using the function pxSortPageList



User has a requirement to implement a custom List to List using two repeating grid layout.

Once the user click on one list (say, list A) the value should be displayed in the other list (list B) and the value in each page list must be sorted.

User has used @pxSortPageList() function in a data transform for sorting.

All the values in each page list in the grid layout are sorted except the word "Any".

Error Messages

No error messages.

Steps to Reproduce

1. Use a repeating grid layout using a page list.
2. Use data transform to copy values to the page list (One of these page list values must contain the word "Any").
3. Use the @pxSortPageList() function in the data transform to sort the page list values.

Root Cause

An issue in the custom application code or rules. All other words in the PageList had a prefixed "SPACE" except the word "Any".


Perform the following local-change:

In the Data transform used the function @trim() to resolve the issue.

Published April 30, 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