I need the user to be able to select one or both items under a Group - but NOT the group itself (there's reasons for it, that I don't need to get into).
As seen in the attached photo, with SelectionMode="Multiple" turned on, it turns into a huge mess. We need it so only the child nodes are selectable, and the group header rows are not.
0
Accepted
Stefan
Telerik team
answered on 16 Jun 2016, 06:52 AM
Hi Barry,
For achieving this requirement, you can benefit from the SelectionChanging event of RadTreeListView. Through the AddedItems property of the event arguments you should be able to determine whether a parent or a child node has been selected. If a child node has been selected you can set the boolean Cancel property of the event arguments to True, thus disable the selection. Please take a look at the code snippet below.