Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TableSorter icon disappeared

Hi all,

I am using TableSorter.java class for many table in my wd4j DC.

The class version is from https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3287

I have got a problem only for one column of my table. When I click the sorter icon, the data are sorted but the icon disappear.

My wd is rendered into EP.

NWDS: 7.0.11

JDK: 1.4.2_9

SAP-JEE: 7.0.14

in my wdDoModifyView

if (firstTime) {		
   view.nowCreateAllCustomExtensionFields();
   IWDTable table = (IWDTable) view.getElement("Table");
   wdContext.currentContextElement().setTableSorter(new TableSorter(table, wdThis.wdGetSortAction(), null, new String[] {"first_column_id", "second_column_id"}));

in onActionSort method

wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.node<table_source_node>());

Any advice?

Thanks for your replies.

Best regards,

Mirco.

Former Member
Not what you were looking for? View more on this topic or Ask a question