Kendo grid line change event?

I have a couple of questions.

  • I am using a Kendo grid and would like to know if it is possible to fire an event at the document level when changing row selection.

    Basically, when the row selection changes, I want to fire an event, and this is done globally, regardless of the gridID value.

    Example:

    $ ('tr.k-state-selected'). parent ('tbody'). live ('change', function (e) {warning ("OnChange");}); }

    But the above example does not work. I have no other classes defined on grid / body / gridRow.

  • How can I fire a click event using the span class in a kendo window (popup)

    I tried the code below, but this does not work.

    $('span.k-icon.ki-close').parents('a').click(function (e) { alert("clicked!"); }); 

Do I need to include any adidtional classes to recognize the kendo window?

Any help would be greatly appreciated. Thanks in advance.

+8
html click kendo-ui
source share
1 answer

You are looking for a change event.

You may also be interested in learning about this demo by showing different grid events.

+10
source share

All Articles