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

[Solved] Inline (batch) edit on local data

2 Answers 704 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
tom
Top achievements
Rank 1
tom asked on 25 Oct 2012, 03:20 PM
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:
  1. click 'add new record', enter "data1" as name, click 'update'
  2. click 'add new record', enter "data2" as name, click 'edit' of data1
  3. watch as data2 disappears
  4. click 'edit' of data1
  5. watch as data1 disappears
  6. click 'edit' of product1
  7. watch as data1 reappears
  8. click 'edit' of data1
  9. nothing happens
  10. click 'edit' of data1 again
  11. watch as data1 disappears

2 Answers, 1 is accepted

Sort by
0
Enrique
Top achievements
Rank 1
answered on 01 Oct 2014, 04:07 AM
I have the same issue... Did you get any response from telerik?
Regards!
0
Rosen
Telerik team
answered on 03 Oct 2014, 02:36 PM
Hi Enrique,

It seems that you have already resolve the issue you were having. If you are still experiencing difficulties please open a separate support request and provide details about the exact issue you are facing.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
tom
Top achievements
Rank 1
Answers by
Enrique
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or