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

[Solved] save one row in batch edit mode

3 Answers 193 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wit
Top achievements
Rank 1
Wit asked on 08 Oct 2014, 09:40 AM
Hi,
I have a grid with batch edit. I am adding a new row and I would like to save it automatically after one of the fields is populated. I am in edit mode when my validation passes I would like to save newRow only, rest of the grid may have some outstanding changes but I wouldn't like to save them. I have tried to saveRow() but I ended up with 100+ duplicated rows in my database. Would you have any suggestions?

Thank you

3 Answers, 1 is accepted

Sort by
0
Accepted
Petur Subev
Telerik team
answered on 10 Oct 2014, 06:26 AM
Hello Witek,

What you are asking for is not supported. The dataSource tracks all the changes are there is a single method that is used (called sync) to send the changes to the server (this is what the Save Changes button do).

Regarding the 100 records into the database, could you please demonstrate this issue and share how your Grid is exactly configured and how the server side methods are implemented?

Kind Regards,
Petur Subev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Wit
Top achievements
Rank 1
answered on 10 Oct 2014, 07:52 AM
Hi Petur,

Can you think about any workaround that would let me to achieve that save?

Thank you
0
Wit
Top achievements
Rank 1
answered on 13 Oct 2014, 08:13 AM
Please ignore my last question.
Tags
Grid
Asked by
Wit
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Wit
Top achievements
Rank 1
Share this question
or