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

How do I bind an event to AFTER remove in the kendo grid?

1 Answer 507 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 27 Feb 2013, 07:47 PM
I've got a kendo grid where I need to fire a function AFTER the destroy command is completed for row. I know that the 'remove' event on the grid fires before it happens, is there any way to capture the event after completion?

Thanks

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 01 Mar 2013, 07:11 AM
Hi Nathan ,

 

You can use the requestEnd event to check if current request is "destroy" to execute your custom code - please check the example below:

pageSize: 30,
requestEnd: function(e) {
    debugger;
    if(e.type == "destroy")
    {
        //execute your custom code
    }
},
Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Nathan
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or