Good day, i have some nested data and i want split data between two ‘datatables’ like master details. If data in details change all changes should applying in master. But in my case if delete row in detail, master data is not changing. How can i sync data in this case. https://webix.com/snippet/891a7d14
Hello,
Parsed data is linked with the original objects, but other data operations in 2nd datatable affects only its own datastore. For correct data processing, I recommend you do the following:
- Replace 1st datatable with a treetable. It will give you a possibility to handle the nested data as separate items and use all data-related API on them.
- Set to this treetable a custom dataDriver to assign
Values
as a tag for nested data - Track
onStoreUpdated
event of the details’ DataStore and apply all needed data updates to the master table:
thanks, this is what I need.