on 04-01-2011 4:40 PM
Hi,
I want to sort rows of a table.
How should I do that? I tried to change the columns indexes but I don't know if it's possible.
Regrads
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to what already mentioned here above. You need to get the instance of the Table UI from the view in wddomodify method and assign to the table handler.
see the help [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b5/ac884118aa1709e10000000a155106/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b5/ac884118aa1709e10000000a155106/content.htm]
See in your system demo_table component for more code snippets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to view attributes tab
create
table_control type if wdtable_method_hndl.
then create one event for ONSORT event of the table and and give action name say " on_test_sort'
then in method tab
wd_this->table_control->apply_sorting( )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.