Reputation: 33
I am using inline editing of kendo ui. but my client requirement is save and edit grid row on focus lost. Can you please tell me is it possible or not. If yes then how to implement it by using php or javascript or jquery. Thanks!
Upvotes: 0
Views: 5906
Reputation: 7356
Yes it is possible. To implement you must add event listeners through jquery like:
$("body").on("blur", "table tr.k-grid-edit-row input", function() {
//perform the save action
});
Note: The selector table tr.k-grid-edit-row input
in the .on()
is an example. You may have to modify.
The save action will require some Javascript. See Kendo Grid documentation here related to saveChanges()
and saveRow()
on how to do this.
Upvotes: 2