This question is locked. New answers and comments are not allowed.
Hello,
I am having some trouble getting a kendo grid to work with inline (batch) editing on local data.
I can only save/transmit the data once the data in the grid is complete, as single items in the grid are not valid data on their own. Because of this I want to edit the data in my local data model.
I can create and edit just fine, until I cancel editing of any (new) item. Especially if I click the edit button of a different row while editing another (ie: do not click 'update' but a different 'edit' button). Then rows start disappearing whenever I click 'edit'. Sometimes they reappear and get duplicated etc.
I experimented with some code to reproduce this problem: http://jsfiddle.net/SDns9/
When pressing 'edit' of a predefined product while editing a new (yet unsaved) one, this unsaved one will disappear.
With a bit of messing around these unsaved ones will reappear all at once again.
Steps to reproduce:
I am having some trouble getting a kendo grid to work with inline (batch) editing on local data.
I can only save/transmit the data once the data in the grid is complete, as single items in the grid are not valid data on their own. Because of this I want to edit the data in my local data model.
I can create and edit just fine, until I cancel editing of any (new) item. Especially if I click the edit button of a different row while editing another (ie: do not click 'update' but a different 'edit' button). Then rows start disappearing whenever I click 'edit'. Sometimes they reappear and get duplicated etc.
I experimented with some code to reproduce this problem: http://jsfiddle.net/SDns9/
When pressing 'edit' of a predefined product while editing a new (yet unsaved) one, this unsaved one will disappear.
With a bit of messing around these unsaved ones will reappear all at once again.
Steps to reproduce:
- click 'add new record', enter "data1" as name, click 'update'
- click 'add new record', enter "data2" as name, click 'edit' of data1
- watch as data2 disappears
- click 'edit' of data1
- watch as data1 disappears
- click 'edit' of product1
- watch as data1 reappears
- click 'edit' of data1
- nothing happens
- click 'edit' of data1 again
- watch as data1 disappears