I am showing a tree structure and plain datatable by separate button click.
If I use table.parse, then the expand-collapse node and the tree structure is lost when I switch buttons.
If I use table.define('data' , webix.copy(dataset)), then the tree structure retains even after switching buttons.
Because of webix.copy , the original reference to the dataset is getting lost and this is causing some problem for me.
How can I retain the tree structure without losing the original data reference.