I need to only listen to onclick events fired on leaf tree nodes in a tree created using Dojo Tree Builder. How can I determine whether the root node has been clicked or leaf node.
Or is there a way around to enable event fire on leaf nodes only and disable for others???
Thanks and Regards!