07-18-2008 2:34 PM
I am working on alv tree using class cl_gui_alv_tree. I want to select multiple line on ctrl+click. how can i do that ?
07-18-2008 2:38 PM
When you create an object for the tree in your program, pass the node selection type to the parameter NODE_SELECTION_MODE of the consturctor method.
CREATE OBJECT W_TREE
EXPORTING
PARENT = W_TREE_CONT
NODE_SELECTION_MODE = CL_GUI_LIST_TREE=>NODE_SEL_MODE_MULTIPLE
Regards,
Naimesh Patel
07-18-2008 2:38 PM
When you create an object for the tree in your program, pass the node selection type to the parameter NODE_SELECTION_MODE of the consturctor method.
CREATE OBJECT W_TREE
EXPORTING
PARENT = W_TREE_CONT
NODE_SELECTION_MODE = CL_GUI_LIST_TREE=>NODE_SEL_MODE_MULTIPLE
Regards,
Naimesh Patel
07-19-2008 7:59 AM
hi,
Plz refer to this link.
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_rowsel.htm
You will find sample code here.
Regards
Sumit Agarwal