cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple selection in tree

former_member186783
Participant
0 Kudos

Hi experts,

I have a tree with a repeated node (Org chart)

The tree is working fine, but i 'd like to have a multiple selection feature on my table. How can I do this? (to be able to select more than 1 node)

In the Context, every node has the multiple selection property (0...n ) but I can still select only one node.....

Every solution is ok for me. I tried to add a checkbox to my tree, but as I see it's not possible in WDA

Please help.

Thanks

N.G

Edited by: ngastanek on Sep 21, 2010 4:31 PM

Edited by: ngastanek on Sep 21, 2010 4:31 PM

Accepted Solutions (1)

Accepted Solutions (1)

ChrisPaine
Active Contributor
0 Kudos

The tree UI element does not support multiple selection. -

[from the Help doco - |http://help.sap.com/saphelp_nw70ehp1/helpdata/en/21/ad884118aa1709e10000000a155106/frameset.htm]

if you want to display a tree structure in which data can be input and you want to provide a scroll bar, use a hierarchical table instead of a tree. More information: TreeByKeyTableColumn and TreeByNestingTableColumn. A tree does not enable the user to select entries, it can only interact with the LeadSelection.

if you want multiple selection or to be able to add checkboxes use the hierarchical table as suggested in the help.

NB lead selection within trees is problematic - as not only is the selected element within the node "lead selected" but also all the parent elements in the parent nodes. There are however some [very useful methods that you can use to retrieve which elements are selected|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/5a/088b41b4b3b25fe10000000a1550b0/frameset.htm]

former_member186783
Participant
0 Kudos

Thanks, for the help! In the meantime I also realize that I have to use a table with e master column in it.

Bye

N.

Answers (0)