Greetings from Syncfusion support.
You can make use of getTreeData() method to get the updated data source of TreeView after performing some operation like drag and drop, node editing, node selecting/unSelecting, node expanding/collapsing, node checking/unChecking, adding and removing node.
- If you pass the ID of TreeView node as arguments for this method then it will return the updated data source of the corresponding node otherwise it will return the entire updated data source of TreeView.
- The updated data source also contains custom attributes if you specified in data source.
Please refer the below API reference link,
Please let us know if you need further assistance on this.