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.

    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.

  2. Answer
    Daniel
    Admin
    Daniel avatar
    2117 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.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top