Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Node always selected in column tree

Hannes_Kerber
Product and Topic Expert
Product and Topic Expert
0 Likes
777

Hi,

I am using a column tree (class cl_column_tree_model). Node selection mode is set to multiple.

Is there the possibility that a certain node is always selected, that means that the user cannot deselect the node ? I tried to achieve this by using the event SELECTION_CHANGED, but this only works when node selection mode is set to single.

Anybody got an idea?

Thanks,

Hannes

4 REPLIES 4
Read only

Former Member
0 Likes
706

hi hannes,

I understood the problem, but i don't understand the requirement.In which case you always want to select a particular node.

Can you be elaborate.

regards,

prasanth

Read only

Former Member
0 Likes
706

hi hannes,

I understood the problem, but i don't understand the requirement.In which case you always want to select a particular node.

Can you be elaborate.

regards,

prasanth

Read only

Hannes_Kerber
Product and Topic Expert
Product and Topic Expert
0 Likes
706

Hi Prasanth,

the user makes a selection of nodes and after he clicks OK I read this selection.

I need to make sure that certain nodes are selected and the user does not deselect them, because they are mandatory to select. Otherwise I would have to perform a check if the nodes are selected and if not to ask the user to do at or confirm that I auto selected them afterwards.

I hope that was understandable ,

Regards Hannes

Read only

0 Likes
706

Hi Hannes,

i think that cannot be done.

You can put a attribute such that the node cannot be selected, but there is no attribute that the node cannot be selected

regards,

prasanth