I have the following Scenario
My intention is that dashboard and any unbinded sub element are binded to DashboardVM fields, UNLESS there is a specific VM binded to that sub element. in this case 'widget1' fields binded should come from widgetVM.
HTML<div id="dashboard" data-bind="visible: isVisible"> <div id="widget1" data-bind="visible: isVisible"> <div id="widget2" data-bind="visible: isVisible"></div>JS $(function () { var dashboardVM: ObservableObject{ isVisible: true }; kendo.bind('$("#dashboard")', dashboardVM); var widgetVM: ObservableObject{ isVisible: false }; kendo.bind('$("#widget1")', widgetVM); }My intention is that dashboard and any unbinded sub element are binded to DashboardVM fields, UNLESS there is a specific VM binded to that sub element. in this case 'widget1' fields binded should come from widgetVM.