Calculated field does not update when parent field is changed

2 posts, 0 answers
  1. Russell
    Russell avatar
    3 posts
    Member since:
    Jul 2014

    Posted 20 Apr 2015 Link to this post

    I am using Kendo MVVM with a hierarchical view model. I have an array of items, and each has sub-items. I have a setting at the root level which determines what sub-item is selected for each item (based on its index).

    All of my data binds correctly, but when I 'set' the selected item index at the root level, the calculated properties on the items are not getting updated.

    The following code demonstrates the issue:

    http://jsfiddle.net/rmorrise/yqp5mke2/5/ 

     

    What is going on here?

     

  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 22 Apr 2015 Link to this post

    Hi,

    the parent().parent() approach does not build a dependency. Please check an alternative one.

    Regards,
    Petyo
    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