Table Sorter
Hi All,
By using the utility TableSorter.java I tried to implement Table Sort Functionality. When i am executing, I can see th sort arrows but when i am pressing that I canot see any changes.. in addition to that.. the icon(up and down arrow for sorting) going after one click.
My code is:
In wdDoModifyView:
if (firstTime) {
IWDTable table = (IWDTable) view.getElement("Tab_SO");
wdContext.currentContextElement().setTableSorter(new TableSorter(table, wdThis.wdGetSortAction(), null));
}
In Sort Action:
wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.nodeSalesOrders());
Please help me in this.
Thanks,
Raz