Send changed data to API

Hello, could you please show how to send data on add, edit, delete, drag and drop to my API to save changes in db?

1 Reply

SP Sowmiya Padmanaban Syncfusion Team April 1, 2020 10:51 AM UTC

Hi Olga, 
 
We have checked your reported query that how to send the updated data to the database. In TreeView component, you can get the updated dataSource in getTreeData() method.  
 
Refer the below sample to get the datasource value in getTreeData() method. 
  console.log(tree.getTreeData()); 
 
Refer the sample link below. 
 
If we misunderstand your requirement. Can you please share the additional details regarding your requirement. It will helpful for us to resolve your issue at earlier. 
·       Exact requirement. 
·       Code snippet or screenshot. 
·       Video footage of your requirement. 
 
Please let us know, if you have any concerns. 
 
 
Regards,  
Sowmiya.P 


Loader.
Up arrow icon