Posted 17 October 2017, 6:07 pm EST
When node change collapse/expand in tree, icon will change. Similarly, collapse/expand all then it will also change.
Forums Home / Wijmo / General Discussion
Posted by: phupham0310 on 17 October 2017, 6:07 pm EST
Posted 17 October 2017, 6:07 pm EST
When node change collapse/expand in tree, icon will change. Similarly, collapse/expand all then it will also change.
Posted 17 October 2017, 8:13 pm EST
I think you want the Icon to change when you Collapse/Expand all, if yes the please refer to the Tree Intro Sample given here and go the “Creating Trees” section
For Expanding use: treeview.collapseToLevel(1000)
For Collapsing use: treeview.collapseToLevel(0)
http://demos.wijmo.com/5/Angular2/TreeViewIntro/TreeViewIntro/
Thanks,
Abhishek
Posted 17 October 2017, 8:50 pm EST
Thanks you, Abhishek. But “Creating Trees” section hasn’t change icon.
Posted 17 October 2017, 11:10 pm EST
If you look closely then Icon gets changed when you collapse or expand . I would request you to elaborate your use case in more detail so that I can help you accordingly.