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

Dynamic data with treemap angularjs

1 Answer 42 Views
TreeMap
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 17 Aug 2015, 08:25 PM

The treemap is only showing data that is set first. When I change the options, the widget still displays the old data.

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

Then I thought I will try just changing the data on the datasource but that did not work either.

http://dojo.telerik.com/exUtI

 

What is the right way of using a treemap to display different sets of data? My schema is the same.

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 19 Aug 2015, 11:20 AM
Hello Xavier,

Usually, you should use the k-rebind attribute to update the widget when the options are changed. However, there seems to be a known issue that is currently logged in our system for further investigation that prevents this approach from working with the treemap. Therefore in order to update the widget I would suggest to set the new data to the existing dataSource instance. I updated the example to demonstrate this approach.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TreeMap
Asked by
Xavier
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or