This is a migrated thread and some comments may be shown as answers.

How to make Undo/Redo in Kendo UI Web Grid?

3 Answers 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ilyas
Top achievements
Rank 1
Ilyas asked on 05 Mar 2014, 11:03 AM
Good day!
How to make Undo/Redo in Kendo UI Web Grid? As here: http://jzaefferer.github.io/undo/demos/contenteditable.html

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 06 Mar 2014, 01:02 PM
Hello Ilyas,

I suppose you have some editing-in-Grid scenario. The Grid itself does not manage the typing process, the field editors do. You need a custom field editor that supports undo and redo. This can either be a Kendo UI Editor, or some other custom / third-party widget.

http://demos.telerik.com/kendo-ui/web/grid/editing-custom.html

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ilyas
Top achievements
Rank 1
answered on 12 Mar 2014, 11:11 AM
Thanks for the help, but I met a small problem when I click undo I insert in a cell there that value recorded. 
startValue = thisCell.html (); 
When I edit the same cell in the input displays the old value.
Sorry for my english.
0
Ilyas
Top achievements
Rank 1
answered on 12 Mar 2014, 05:58 PM
After the undo button, doesn't change the data in the datasource.
thisCell.html(startValue);
Tags
Grid
Asked by
Ilyas
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Ilyas
Top achievements
Rank 1
Share this question
or