on 05-02-2006 10:39 AM
Hi all,
I have implemented my table as discussed here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on creating a tree structure in a table - 27.htm
Now I'm trying to sort my table columns as described here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on creating tables in web dynpro - 11_0_.htm
Unfortunately I cannot get it to work. The icons for ascending and descending appear, however, it does not sort my table columns.
Is it all possible to sort using these TreeByNestingTableColumn UI element components?
And if yes, how can it be done?
Can you please suggest?
Regards,
Harm de Laat
Hi,
Go through this blog
/people/bertram.ganz/blog/2006/03/07/enhanced-web-dynpro-java-tablesorter-for-sap-netweaver-04s
Regards,
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This looks very promissing however, when I paste the TableSorter class into my project, it cannot resolve imports, and has some other import problems:
import com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractTableColumn;
import com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTableColumnGroup;
import com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDTableColumnSortDirection;
All seem to cause compilation problems.
I'm using NWDS 2.0.15. Anything I should know here?
Please suggest?
Regards,
Harm
Hi Harm,
This blog describes WD <b>"for SAP NetWeaver 04s"</b>. That can cause your problems.
The problem with TreeByNestingTable is that it uses recursive nodes instead of "flat" one. So, logic from TableSorter is not really appropriate for this. Logic for sorting of tree (which actually represents recursive node) is more complex.
Best regards, Maksim Rashchynski.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.