Click here to Skip to main content
15,878,871 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a KendoUI grid (using jquery 1.9 and Kendo 2013.1, and I cannot update these libraries to newer versions).

I cannot change the function that created the grid.

I want to add a handler for the change event (when the user selects an item in the grid) so I can show a button in the form.

Again, this has to be done AFTER the grid object is created.

Is that possible, and if so, how do I do it?

What I have tried:

I have no idea what to try because I'm new at this, and don't even really know what to google for.
Posted
Comments
Afzaal Ahmad Zeeshan 7-Mar-19 14:38pm    
Would this not work? obj.on("change", function () { });, or simply, obj.change(function () { });

And you can add this to .load() function for the grid element. Maybe that is what you are looking for.
#realJSOP 7-Mar-19 14:43pm    
I don't know if that would work. That's why I asked the question.
#realJSOP 7-Mar-19 14:46pm    
Neither of those things worked.
Afzaal Ahmad Zeeshan 7-Mar-19 14:55pm    
Can you share a code sample, for what you are trying to do? Maybe that will clear the context a bit.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900