virtualTree, how to reset model?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

virtualTree, how to reset model?

I'm trying to create an edit/insert window to edit selected item of a tree.
The problem is when I cancel edits, I'm enable to revert to old model values (see the __oldModel usage)

I've set up a playground example:

Can someone show me how to edit/insert row in a tree.