can you help me with problem. I'm adding node programmatically with:
but would like to empty node list on parent, before I add new nodes. Is that possible? In documentation did not found method getNodes(parentId), or setNodes(parentId) which would solve this small issue.
if someone is loading data without their dataManager (e.g. directly through axios or vuex). The solution is to create flat Tree data with all the nodes, and before call to addNodes method to check that parent node, does not have children defined.
Marked as answer
SSShereen Shajahan Syncfusion Team December 9, 2022 06:49 AM UTC
We are glad to know that the reported problem has been resolved at
your end. Please let us know if you have any further queries on this. We are
happy to help.