rerender symbol on data item change

2 posts, 0 answers
  1. Matt
    Matt avatar
    38 posts
    Member since:
    Nov 2014

    Posted 06 Jul 2015 Link to this post

    Is there a way to rerender a symbol on a bubble layer when the data item for it is changed?  I can probably make it work by copying the whole data source, emptying it, and then copying it back in with the updated values, but that seems like overkill.  I just want to be able to change things on some symbols.
  2. T. Tsonev
    T. Tsonev avatar
    2834 posts

    Posted 08 Jul 2015 Link to this post


    One approach would be to change individual model items. The layer will be repainted accordingly:[0].set("Location", [0, 0]);

    Alternatively, you can keep a reference to the rendered visual. It remains live and will respond to changes, e.g.

    I hope this helps.

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