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

insert record , phone call savechanges then delete same record , phone call savechanges then phone call call grid.cancelchanges()

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

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -