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

Grid selection is not triggering Change event

2 Answers 488 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 27 Jun 2013, 09:21 AM
I am using Kendo UI 2013.1.514.340 in combination with JQuery 2.0.0.  I have configured a Grid with the Selectable option and configured a Change handler to pick up events.  The handler is correctly picking up events when the Grid is created, refreshed, sorted, filtered, etc.  However, selecting a row does not seem to fire an event as desired.

I saw several other posts asking whether or not there was a JQuery incompatibility.  Some of those posts are older, and none were answered to confirm this.

I'd like to know if this is a known issue before I go to the trouble of ripping out 2.0.0 for some other version, presumably 1.8.2.

Help, please!

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 27 Jun 2013, 10:45 AM
Hi Ian,


Generally jQuery 2.0 claims to be compatible with jQuery 1.9, so there should not be any problem. I tried to reproduce the issue locally in the following JS Bin example, but to no avail - the event is fired as expected (I am logging it in the console).

Please let me know if this example covers the current scenario. If that is not the case, could you please modify it in order to reproduce the problem?

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ian
Top achievements
Rank 1
answered on 27 Jun 2013, 01:09 PM
Thank you Dimiter for your assistance, this is working now.  

The root cause of my issue was the fact that I had incorrectly bound the event to the DataSource, instead of to the Grid itself.  Thus it would trigger for the conditions I specified, but not for selection.  

Your example helped me identify the problem and saved me from other breaking changes.  I appreciate it, thank you very much. 
Tags
Grid
Asked by
Ian
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Ian
Top achievements
Rank 1
Share this question
or