In this example, the tree nodes expand when the node name is
clicked upon.. I wanted to achieve similar functionality but not
able to find the right documentation or approach. Currently, I have
to click on the side arrow to expand the tree node.
Could someone please help me with a solution if you have
managed to get a tree working in a similar way to this example.