TreeGrid - Single select parent, multiselect children?

Is is possible to enable single select on a parent and multi-select on any child item within a TreeGrid in 8?
If so, how can this be achieved?

It’s not available out of the box, so you’ll have to implement it yourself somehow. It could be doable in a SelectionListener where you check the selected node if it’s a parent and deselect any other parent nodes if yes.

-Olli

Thanks for the response.
I was able to accomplish this with a combination of treeGrid.addItemClickListener and programmatically selecting and deselecting the items based on their hierarchy.

Right, that’s what I was thinking. Good to hear you got it working at least.

-Olli