Hello, I have which is
there is grid which is bind to viewModel.data and on there is which executes code:
the "selected" is also to div which has and some grids in kendo template. Whenever update using
this.selected.set("name",personname)
1) on of above the selected Div which is gets hidden. The div is inside kendo template and no visible binding are When execute $(div).show() in the div is seen and values are updated. There is something wrong in method of selected?
2) for nested set which one is right:
this.selected.address.set("pin",pincode)
OR
this.selected.set("address.pin",pincode)
var
viewModel = kendo.observable({
data: vmJson,
selected:
null
});
there is grid which is bind to viewModel.data and on there is which executes code:
this
.set(
"selected"
,e.data)
the "selected" is also to div which has and some grids in kendo template. Whenever update using
this.selected.set("name",personname)
1) on of above the selected Div which is gets hidden. The div is inside kendo template and no visible binding are When execute $(div).show() in the div is seen and values are updated. There is something wrong in method of selected?
2) for nested set which one is right:
this.selected.address.set("pin",pincode)
OR
this.selected.set("address.pin",pincode)