Let say I have one with few properties
var rec = {GH: 12, FG: 34};
At some point I did
rec.updateItem(id, {GH: 4444})
After some time I want to undo the changes happen to particular record.
Is there any way to do this?
Let say I have one with few properties
var rec = {GH: 12, FG: 34};
At some point I did
rec.updateItem(id, {GH: 4444})
After some time I want to undo the changes happen to particular record.
Is there any way to do this?
https://docs.webix.com/api__ui.datatable_undo.html
https://docs.webix.com/api__ui.datatable_undo_config.html
https://snippet.webix.com/51bl8oit
Thanks intregal
datatable item undo not working with editors
ohh intregal It’s working fine.
but we need to click many times if rec has many changes. I want to undo entire record one shot.
is it possible?
Hello,
I want to undo entire record one shot
Unfortunately, there is no solution. The point is that edited value is saved one after another. So undo() can return the value only one by one.