on 07-06-2012 11:31 AM
Hello experts,
I have used a table ui element and in that i want to set lead selection to a row when i am selecting any of the row's cell at run time.
How to do this task.
Vishal,
As you said, if it needs to be selected based on Cell means, the UI element(CellEditor) should be LinkToAction/Button.
Then in that UI element's action we can set LeadSelection easily.
data: lo_context_element type ref to if_wd_context_element,
lv_index type i.
lo_context_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
lv_index = lo_context_element->get_index( ).
lo_<node_table>->set_lead_selection_index( lv_index ).
This will happen dynamically when you click/select on Cell Action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.