on 06-08-2007 1:31 PM
Hi fellow WD4A fans
We've got an ALV on a WD4A view which allows multiple lines to be selected,
Can anybody tell me how to completely reset the selection when returning to this view. So, when I return to the view I want none of the lines to be selected any longer.
How can this be done?
Regards
Wouter Heuvelmans
Pyramid Applied Solutions
Hi Wouter,
Place the code above (in the previous post) in the inbound handler method used to enter into the view where you want to unselect the rows.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wouter,
To remove all selections, just clear the context node which you have bound to the ALV.
Sample code:
DATA:
node_objects_info TYPE REF TO if_wd_context_node,
elem_objects_info TYPE REF TO if_wd_context_element,
stru_objects_info TYPE wd_this->element_objects_info.
node_objects_info = wd_context->get_child_node( name = wd_this->wdctx_objects_info ).
CALL METHOD node_objects_info-><b>clear_selection</b>.
Here, 'objects_info' is the node to which i have bound. Replace it with your node name.
Regards,
Ram
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.