on 10-14-2007 10:14 PM
Hi,
In webdynpro abap when i click on any cell to update, i want that entire row to be selected.whenever i click on a differrent cell, that particular row is not getting selected. Can some one help me to fix this problem please?
Thanks,
k.c.
Hello,
In the event handler for the cell selection, you can call the method set_lead_selection of if_wd_context_node and pass the 'CONTEXT_ELEMENT' obtained from wdevent into this method.
Hope this helps.
Regards,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
in the event handler method i wrote the following lines. Still it is not selecting current row. Could you please help me.
data : ObjNode type ref to if_wd_context_node,
elem_details Type ref to if_wd_context_element.
ObjNode = wd_Context->Get_child_node( name = 'TZOBJ_TYPE_STR' ).
elem_details = ObjNode->get_element( ).
elem_details = WDEVENT->get_context_element( 'CONTEXT_ELEMENT' ).
data : lead_selection_index TYPE i.
lead_selection_index = ObjNode->get_lead_selection_index( ).
lead_selection_index = elem_details->get_index( ).
ObjNode->SET_LEAD_SELECTION_INDEX( INDEX = lead_selection_index ).
thanks,
k.c.
Hi ,
Try out this demo example .
May help you .
WDR_TEST_TABLE ,
WDR_TEST_EVENTS.
Chill
Parag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.