Hei,
I need to select the row once i click on the box on the left most side of the row. I am able to do that if i don't have a event defined. But i need to define event. Hence i am not able to select the row by clicking that button.
So i wrote the following code once i click that box and it goes into the event i have defined.
DATA lr_element TYPE REF TO if_wd_context_element.
DATA lv_index TYPE i.
DATA l_node TYPE REF TO if_wd_context_node.
" get the index of the cell
lr_element = i_event->get_context_element('CONTEXT_ELEMENT').
lv_index = lr_element->get_index( ).
But the problem is that, lr_element, is initial and hence i get a dump.
How would i programmatically select that row when i click on the box on the far left a row? Or maybe their is a table setting which i can use to make it select everytime i click on that box eventhough i have a onSelect event defined?
Any help will be appreciated.
Thanks