Angular not allowing onChange event to fire on grid.

2 posts, 0 answers
  1. ByrdMan
    ByrdMan avatar
    9 posts
    Member since:
    Mar 2007

    Posted 29 Sep 2014 Link to this post


    I have a simple angular controller that should handle the selected row of a kendo-angular grid.  However, angular is throwing an exception, "Referencing DOM nodes in Angular expressions is disallowed! Expression: uc.handleChange(selected, data, dataItem, columns)".

    Is there a way around this or a better practice for retrieving the data model for a selected row?

  2. Mihai
    Mihai avatar
    153 posts

    Posted 01 Oct 2014 Link to this post


    This is a breaking change in Angular 1.2.24 -- see this thread:

    The workaround is to pass selected in an object, for instance:

        uc.handleChange({ selected: selected }, data, dataItem, columns)

    or use an older version of Angular.  Kendo ships with Angular 1.2.21.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top