I've couple of questions..
I'm using Kendo grid and would like to know if it is feasible to fire an event at the document level when a row selection is changed.
Basically, when a row selection is changed, I want to fire an event and this is done at the global level without depending on the gridID.
Example:
$('tr.k-state-selected').parents('tbody').live('change', function (e) { alert("onchange"); }); }
But the above example do not work. I do not have any other classes defined on the grid/ body/ gridRow.
How can I fire a click event using the span class on the kendo window (pop-up)
I've tried below code but that doesn't work
$('span.k-icon.k-i-close').parents('a').click(function (e) {
alert("clicked!");
});
Do I need to include any adidtional classes for recognizing the kendo window ?
Any help will be much appreciated. Thanks in advance.
You are looking for change
event.
You might also been interested on taking a look into this demo showing different grid
events.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With