Support Article
Sorting of grid does not work
SA-30310
Summary
User has a grid repeat that is sourced from a page list property:
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/source1479420244739.jpg)
The page list property accesses data from a data page using the "Refers to a data page" option:
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/prop1479420461349.jpg)
The data page is editable, with a scope of Thread:
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/page1479420643354.jpg)
When a column header on the grid is clicked, the sort indicator icon appears/changes, but the records are not sorted.
Error Messages
Not Applicable
Steps to Reproduce
- Source a grid repeat from the list property.
- Attempt to sort a column.
Root Cause
An issue in the custom application code or rules:
"Refers to a data page" is not the correct data access option on the list property if sorting is needed. The data page itself will not be sorted.
Resolution
Perform the following local-change: *Change data access option for list property to "Copy data from data page":
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/Property data access setting1478903073282.jpg)
Published November 26, 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.