on 12-10-2007 7:56 PM
I want to know the values of the row of the table control when user clicks on a column.
Is there any event for a column click?
how to get the index of the row when the user clicks on a column of the table control?
Hi John ,
Use the property <b>onLeadSelect</b> of the table , create an action for this property . In action action handler method do the following coding
Data: lr_elem type if_wd_context_element.
lr_elem = wdevent->GET_CONTEXT_ELEMENT( name = 'CONTEXT_ELEMENT' ) .
After this get the static attributes of the element.
Regards
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi john...........
you dont have a method for column select.
but you can select a column and have a button to be clicked.
then you can use the method get_column in the class cl_wd_table to
get the column id nad its index.
once you get the colukn you can read the corresponding values from your internal table.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.