Determining which field has been changed in the grid

Is it possible to identify in the kendo user interface grid which field has been changed in the row?

Now I am sending the entire string to the server that has been modified. I would like to send a request to the server to also contain a variable containing the name of the field being edited.

  • Something like this is supported by kendo or
  • Is there any work for this?
+4
source share
1 answer

This is not supported out of the box. However, the grid API should allow this to be implemented. Check edit and save events. There you can listen to the changes to the model instance that is currently being edited. Here is a quick example:

$("#grid").kendoGrid({ edit: function(e) { e.model.unbind("change", model_change).bind("change", model_change); } }); function model_change(e) { var model = this; var field = e.field; // store somewhere the field and model } 
+4
source

All Articles