Skip to Content
Former Member
Sep 07, 2007 at 08:30 PM

Implementing sort function without any event


Hi All,

I want to sort a table.For this, I have added the file in the package of my project. I have also made an attribute of the type TableSorter.

Now when I tried to implement the sort() function for a particular column of a table, giving all the node and column header information , I found out that an event needs to be passed as parameter in the Sort function.

I do not want the sorting of the table to be done on any event, like click of button or LinkToURL.... Instead I want the table to get sorted automatically, say in wdModifyable method itself.

How do I achieve this??? Also one more thing... Will sorting alter the arrangement of rows in the node itself or it will only display in the sorted manner????