Dynamic data with treemap angularjs

2 posts, 1 answers
  1. Xavier
    Xavier avatar
    29 posts
    Member since:
    Jun 2014

    Posted 17 Aug 2015 Link to this post

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


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



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



  2. Answer
    Daniel avatar
    2231 posts

    Posted 19 Aug 2015 Link to this post

    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.

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