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

Invoke Javascript (jquery) method after update (inline edit)

2 Answers 291 Views
Grid
This is a migrated thread and some comments may be shown as answers.
GCS
Top achievements
Rank 1
GCS asked on 20 Dec 2013, 12:39 AM
I need to invoke a js method after an Update Action with an inline editable grid. I hooked into the Save event as so: 

          .Events(e => e.Save("save_grid"))

However, that happens before the Update Action.  I need "save_grid" to occur AFTER the update action. 

Any ideas? 

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 20 Dec 2013, 09:27 AM
Hi Dave,

Please use the requestEnd event of the DataSource. Note that the event fires after every successful Ajax request so you will have to check the type of the request (e.type).

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
GCS
Top achievements
Rank 1
answered on 20 Dec 2013, 03:52 PM
Alexander, Thanks!.   That was it. 
Tags
Grid
Asked by
GCS
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
GCS
Top achievements
Rank 1
Share this question
or