cancel
Showing results for 
Search instead for 
Did you mean: 

table sorting problem

Former Member
0 Kudos

Hi All,

I am using the node elements sort (nodeXXX.sort()) to sort elements in the table.

I am using the comparator as provided by valery in the thread

Sorting is happening fine on table .But when i click a particular row the context of it that of a different row (of that of the row which was supposedly binded there before sorting).

I bind values to node.Then call the sort on a particular column

wdContext.nodeXXX().sortElements(GenericNodeElementComparator.desc("yyy") );

where yyy is the column attribute.

Is there any other action to be performed for the context binding on the table also to reflects the sorted list appropriately.

Hope the problem is clear .pls revert back.

Many Thanks,

Ashok.

Message was edited by:

Ashok D

View Entire Topic
Former Member
0 Kudos

Hi Ashok,

you can refer to this tutorial:

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/bad3e990-0201-0010-3985-fa0936d901b4">https [original link is broken] [original link is broken]

here you could find the complete procedure to sort tables.

Award points for good answers.

Best regards,

Gianluca Barile