on 12-31-2009 7:56 AM
Hi ,
I have a table element in my application.
When I click on the button ADD a new row gets added to my Table but the control is not getting shifted to the newly added row.
i.e. the lead selection remains at the old line.
How to acheive this
hi,
After you have appended new row, get the number of rows in table .
Now use Set_lead_selection_index method of if_wd_context_node to set the index to new row.
Sample code for your reference :
data lv_count type I.
lv_count = lo_nd->get_element_count( ).
lo_nd->set_lead_selection_index( lv_count ).
Edited by: Saurav Mago on Dec 31, 2009 1:31 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.