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

Batch Grid field changed through javascript, now can't save

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
Iron
Iron
Veteran
David asked on 03 Jun 2019, 06:20 PM

I am changing some fields in my grid through javascript. Unfortunately OnBatchEditCommand can't sense that anything changed at all.

Is there a way to trick grid to include changed fields in "new values"

Thank you

2 Answers, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 04 Jun 2019, 12:50 PM
Hi David,

Batch Editing of the Grid is a client-side editing functionality that keeps track of changes if they are made using the APIs.

Please take a look a the Batch Editing Client-side API, more specifically at the method called changeCellValue(). This is the method that needs to be used to change the value of a cell. Once done, the OnBatchEditCommand will detect the changes on the server side.

You might also check out the following articles that could prove useful in this scenario:
Kind regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 04 Jun 2019, 06:00 PM

It helped me tremendously!!!!

Thank you

Tags
Grid
Asked by
David
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Attila Antal
Telerik team
David
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or