Posted 18 October 2017, 3:07 am 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 18 October 2017, 3:07 am EST
Posted 18 October 2017, 3:07 am EST
When node change collapse/expand in tree, icon will change. Similarly, collapse/expand all then it will also change.
Posted 18 October 2017, 5:13 am 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 18 October 2017, 5:50 am EST
Thanks you, Abhishek. But “Creating Trees” section hasn’t change icon.
Posted 18 October 2017, 8:10 am 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.