This is a migrated thread and some comments may be shown as answers.

Angular ng-click not working for Treemap

2 Answers 65 Views
TreeMap
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 19 Feb 2016, 08:38 PM

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 Answers, 1 is accepted

Sort by
0
Ivan
Top achievements
Rank 1
answered on 22 Feb 2016, 07:07 PM

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

 

0
Ivan
Top achievements
Rank 1
answered on 23 Feb 2016, 04:57 PM
To clarify further. It was not the code, but a bug in 2015 release. The code only works in 2016 Q1.
Tags
TreeMap
Asked by
Ivan
Top achievements
Rank 1
Answers by
Ivan
Top achievements
Rank 1
Share this question
or