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

Accepted Solutions (1)

Accepted Solutions (1)

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ashok,

you can follow this tutorial too... its very gud, give a try

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/developi...

this pdf is all about tables, if you want sorting check in page 18.

regards

Pradeep

reward points if it helps or solves your prob