Question
TCS
IN
Last activity: 9 Mar 2016 8:18 EST
Unable to Apply Sorting on Primary Key Columns
Hi All,
we are using the pega PRPC 7.1.8 version.
we have created a Custom Section to add data from UI to external tables, and we using the Repeating Grid to enter data in the UI.
We have binded the controls like text boxes,Dropdowns in the custom section.
But sorting is not happening for the primary key columns in this Grid.
Kindly suggest on this.
Thanks,
Sindhuja
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Sindhuja
If the primary key column in your grid is not a direct property, but is present within a section in the grid, then sorting would not work. That is expected behavior. Sorting would only work if the property is directly one of the columns in the grid. Not when it is placed within a section.
TCS
IN
We have created a section in which we have repeat Grid and the properties added into it.
And this section is used in another Section.
We have the enabled the Sorting for the Grid, We are facing issue for one Column alone and the remaining columns are getting sorted.
Thanks,
Sindhuja
Pegasystems Inc.
US
Hi Sindhuja,
When you compare the tracer for the column that you are able to sort and the column that you are unable to sort, do you see any discrepancies? Are you applying any custom control for the property that you are unable to sort?
Thanks
TCS
IN
Hi Bhuvana,
we are not using any custom control for property which is not getting sorted.
When we observed the tracer, we have seen that for the column which is not getting sorted is not having any tracing events whereas we have tracing events present for the columns(Properties).
Thanks,
Sindhuja
Pegasystems Inc.
IN
Is the Primary key property from Joined table property? If I am not wrong, for joined table property also, the sorting doesn't work.
It would be better if you can add some configuration here itself.
TCS
IN
Hi Pankaj,
No, the primary key property is not from joined table.we have tried possible ways but still its not working.
Thanks
Sindhuja.N
Pegasystems Inc.
US
Sindhuja
For the purposes of testing, can you change the primary key to be a different property that sorts correctly now and then test if the problematic property continues to have a problem with sorting even when it is not the primary key? Are the values in the property trimmed properly or do they have space characters? Also make sure there are no special characters. Not sure if sorting may not work in those situations, but something to check.
Bhuvana.