Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to create saveChanges callback function in grid kendo mvc

I'm having some timing issues and was wondering if there is a way for saveChanges to have a callback when it's save is complete?

like image 942
user3701371 Avatar asked Jun 04 '14 02:06

user3701371


1 Answers

you add code below:

.Events(e => e.RequestEnd("RequestEnd"))

and create javascript function

function RequestEnd(e) {
    if (e.type == "update") {
        // your code here
    }
}
like image 174
John Nguyen Avatar answered Oct 24 '22 20:10

John Nguyen