02-20-2006 3:42 PM
Hej together,
does anybody of you know if it is possible to select complete lines in a cl_gui_alv_tree?
I do remember it is possible to select (multiple) lines in an alv-grid. But I don't know how to so in gui_alv_tree.
Any suggestions?
Thanks in advance!
BS
02-20-2006 4:34 PM
HI,
you have methods to get the info of the selected nodes,
and selected items in alv tree.
for nodes-><b>GET_SELECTED_NODES</b> of cl_gui_alv_tree
for items-><b>GET_SELECTED_ITEM</b> of cl_gui_alv_tree
Regards
vijay
02-21-2006 8:27 AM
Hej,
thanks till now. I'm not sure if they'll do what I want. To assure the functionality will be there after implementing - excuse me - I ask before I will start doing it.
Is it really possible to select <b>multiple</b> nodes? And if how do I select multiple? I tried using CTRL & clicking in an example but that didn't work so far.
BS
02-21-2006 8:32 AM
02-21-2006 8:42 AM
Hej Vijay,
do you have any clue how it should work?
Thank you very much for your fast response,
BS
02-21-2006 9:22 AM
i am looking for some solution,
Yes, i found one example in which i'm able to select multiple nodes with the help of CTRL.
you can also see this example..
<b>RCCUBD00</b>
for multiple selection you need to do this..
CREATE OBJECT tree
EXPORTING
parent = control_container
node_selection_mode =
cl_gui_column_tree=>node_sel_mode_multiple
item_selection = 'X'
no_html_header = 'X'.
Regards
Vijay
02-21-2006 9:26 AM
Hej Vijay,
funny. Just a few minutes ago I found this init_tree_control option either.
@All authors: Thank you very much for your fast responses.
Have a nice day!
BS
02-21-2006 3:20 AM
02-21-2006 8:46 AM
Refer to this link : (May help you)
http://www.sapdevelopment.co.uk/saptalk/saptalkinctop.htm
Cheers
Sunny