on 06-20-2008 4:07 PM
hi
i have two table where i have perform ascending and
descending , sorting on the two tables w.r.t column , and
these two tables are of Model Node , called from RFC .
i have checked some of the document where the
table sorting done on the table my creating the value node
elements and using wdDoModify(), where table is created dynamically , i have created the table in the
transcontainer with applytemplate and took the elements
from the RFC MOdel node . now i need to sort the
table columns in ascensing and descending order . each and
every column . all the examples for TABLE SORTING documents i have gone through are using VALUE NODE
, but i am using MODEL NODE and i am declaring the table
and not dynamically .
i have to perform the table sorting . can any one help me out
it very urgent ?
bbbb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
There is no difference between value and model node sorting.
I am not sure which document you are following. well, if it is a general sorting available in SDN,
In wdDoModifyView() you are getting the current table ID
see
IWDTable table = (IWDTable) view.getElement("Table_0");
// Where Table_0 is the ID of the table you created/placed in the view layout.
we need to pass the id of the table to the sorting java class in order to invoke the constructor of TableSorter.java
Please follow [Table sorting blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3287] [original link is broken]; for reference.
Mandeep Virk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.