javascript - kendo grid cancelChanges issue -
javascript - kendo grid cancelChanges issue -
i working on web application using kendo grid(angular js). should phone call grid.savechanges()
after every delete or insert operation. in special scenario such
normally goes lastly savechanges
state in case showing deleted row. help?
i've tried in demo: http://demos.telerik.com/kendo-ui/grid/editing works correctly.
maybe works when phone call savechanges()
manually. info restore when you're calling cancelchanges()
stored in _pristinedata
property seek workaround:
var grid= $("#yourgrid").data("kendogrid"); grid.savechanges(); grid.datasource._pristinedata = grid.datasource._data;
javascript user-interface kendo-ui grid kendo-grid
Comments
Post a Comment