Angular ng-click not working for Treemap

3 posts, 0 answers
  1. Ivan
    Ivan avatar
    5 posts
    Member since:
    Feb 2015

    Posted 19 Feb 2016 Link to this post

    I am having trouble getting ng-click to work. 

     

    Here is a dojo of what I would like to do. 

    http://dojo.telerik.com/IFuRE/2

    I don't really need to use buttons or templates in my case, I would like to be able to click anywhere on a tile and have that trigger a function with the dataitem that was clicked.

    I did find this example here:

    http://dojo.telerik.com/@SiliconSoul/uMORu

    But this is not really the angular way to do this, I would like to use a function on my controller and have the scope come through etc.

    Regards,

    Ivan

  2. Ivan
    Ivan avatar
    5 posts
    Member since:
    Feb 2015

    Posted 22 Feb 2016 Link to this post

    Sorry, there was an error in my code. It is now working on the dojo example.

     

  3. Ivan
    Ivan avatar
    5 posts
    Member since:
    Feb 2015

    Posted 23 Feb 2016 in reply to Ivan Link to this post

    To clarify further. It was not the code, but a bug in 2015 release. The code only works in 2016 Q1.
Back to Top