Closed joshterrill closed 3 months ago
The reason I added this is because you have a notion of Parent and Child, with icons for Parent (open), Parent (closed), and Child. In the implementation I have, I have a notion of Parent, Sub-Parent, Child... so I needed different icons for all of those. Now I can assign a custom css class for every state each individual item in the tree is in.
This allows you to add custom css classes for the different states that the treeview is in and having them selected by putting something like "classCollapsed" : "cssClass" in the json.