I am using ultratree and populating the data like below, with different levels.
When i delete any of the nodes or add the new node at any level, i set the datasource to populate with data of recently added or deleted(i am retrieving from db). My problem is, every time i delete or add any new nodes, ultra tree collapses. How can i maintain the same expansions that i have previously after reset the datasource.?
Thank in Advance.
Thank you for contacting Infragistics!
This is the expected behavior as the UltraTree does not know the same datasource us being assigned to it. You can track what node are expanded and collapsed and then re-expand them after re-binding data: