making onRowClick optional
systemchef opened this issue · 3 comments
systemchef commented
Firstly, it is a nice idea, tested it and found one immediate enahancement possibility. Can you make onRowClick optional so that at times if we want to toggle the row only by clicking the symbol.
rnpowerconsulting commented
Great idea, Maybe I will expose onRowClick and the function to expand/contract levels., and allow for overriding so that custom handling can be attached.
rnpowerconsulting commented
This should be implemented, I also included some other related enhancements such as onReady
systemchef commented
Thanks for adding the onrowclick as an option. Just tested it and found a small bug. If we set it to false , root node wont't toggle but all sub nodes can be toggled properly. Please check.