Thursday, May 9, 2013

Custom sort in Grid


Custom sort of the grid can be achieved by using peoplecode. 

Create a Rowset for the grid and use the below code. 
&RowsetName.Sort(Record.Field1, "D", Record.Field2, "A"); 

The grid is sorted by Field1 in Descending and Field2 in Ascending order. 

No comments:

Post a Comment