I tried finding something similar in this forum but maybe I'm not using the right terms, so here it is:
I have a custom model (created using kendo.define), lets call it "Master". It has a property "Children" which is an ObservableArray of another custom model. A property (say, "Type") defined in Master is rendered in children template. If this property changes, the child template doesn't re-render.
- Question 1: Considering such a setup where a master property is rendered in a child template, how can child re-render when master property changes?
- Question 2: Is there a better way to convert server-provided data into custom Model objects than what is being done in the example?
I have read that data sources should not be nested so deeply, is that the problem? What would be a more appropriate approach for MVVM with a nested model?
Example Dojo: https://dojo.telerik.com/isiNeJaF