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

[Solved] Wiring a js along with the create command

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karishma
Top achievements
Rank 1
Karishma asked on 17 Mar 2015, 07:20 AM
Hi Everyone,

Good Morning!

Have implemented the Batch edit grid. I need to call a js after the out of box command of create is executed, is there any way to do it?

Karishma

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 18 Mar 2015, 10:03 AM

Hello Karishma,

In this case you could attach a handler to the change event of the Grid's dataSource and check if the current operation is "add". Here is an example that demonstrates this.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Karishma
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or