cancel
Showing results for 
Search instead for 
Did you mean: 

Check Box in Tree (tree multiple selection)

rupambhatta
Product and Topic Expert
Product and Topic Expert
0 Kudos

I need to create a 2 level hierarchy tree, where the user is allowed to make multiple selection on leaf node. One way is to use TableTree (TreeByNestingTableColumn), but with this I am unable to get the same look and feel of a simple Tree view.

My questions are:

1. Is there a way to enable multiple selection on a simple Tree?

2. If the answer to question 1 is no, then is there a way to add check boxes to the Tree elements (be it parent or leaf)?

3. Is there anything that can be done to solve this issue without using TableTree?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please go through thread.

The solution outline is like this:

1. When you click on a leaf, you mark it as selected and you can also store it in the context.

2. Click as many leaves as you like and the onAction will mark each of them as selected.

3. There's no need to do a CTRL+click, only normal clicks.

4. Once done you can find out all the marked leaves.

Regards,

Satyajit.

Answers (0)