AngularJS grid reference in databound event

3 posts, 0 answers
  1. Richard
    Richard avatar
    1 posts
    Member since:
    Oct 2014

    Posted 19 Jan 2015 Link to this post

    Why is the controller's reference to the grid not yet set in the databound event? Is this a design choice or a bug?
    You can get a complete reference by accessing the sender in the databound event, so why would the scope not be updated yet?

    Here's a plunker pointing out what I mean: http://plnkr.co/edit/ErDILanappRCgMxxo3Jh

    I'm relatively new to AngularJS, so if this is a matter of design and guidelines please enlighten me with the details.


    Thanks
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2596 posts

    Posted 21 Jan 2015 Link to this post

    Hi Richard,

    After some testing I found out that there is a reference to the Kendo UI Grid in the dataBound event handler. Here is an example:

    http://dojo.telerik.com/@Kiril/OxABA

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. صابر
    صابر avatar
    2 posts
    Member since:
    May 2017

    Posted 28 May 2017 in reply to Kiril Nikolov Link to this post

    thanks . i'm also solve this issue in angular with dataBound :
    my issue about kendo auto fit columns in databound thats solved by your link
Back to Top