Question
Sorting Issue in Repeating Grids
I am using a repeating grid, where sorting should be enabled. Grid Source using is ABC.pxResults.
Able to sort only some columns. For some columns I am getting error like below.
Exception Trace com.pega.pegarules.pub.clipboard.InvalidParameterException: Failed to process comparator list, com.pega.pegarules.pub.clipboard.InvalidParameterException: Cannot get property information for: Class:"ABC-Data-XYZ" Property:".abc". Details: Invalid value for aClassName, aPropertyName passed to com.pega.pegarules.data.internal.clipboard.PageComparator.getDefaultComparator(Executable, String, String). Details: Invalid value for aComparator passed to com.pega.pegarules.data.internal.clipboard.Sorter.sortPageList(ClipboardProperty, String[], boolean[], String[])
Found this support article : Node ID: 1333331 SA ID: SA-36092
https://pdn.pega.com/support-articles/sort-functionality-not-working-repeat-grid
Wrf to this article:
Eventhough I am using toplevel page of clipboard (ie. ABC.pxResults ) as my grid source, I am able to sort for some columns and for some columns I am not able to.
If it is the Pega Code issue, it should not work for all the columns I assume. Please confirm and suggest a solution.
Best Regards,
Sri Lalitha.
Hi Jeevan,
I think you got confused with the referred PDN article, it says to use the Page List property which is embedded within the pyWorkPage(i.e. Orders page list property which is embedded in the pyWorkPage) instead of using the Top level clipboard page(i.e. FinalResults.pxResults).
So perform this change and let us know if it helps you.
Regards
Mahesh