kendoui.web.2012.1.322
I bind my model to a table.
If I update the values with widget, the model is updated.
If I set the value of the widget by value, the model is not updated.
This happens both for the dropdownlist and for both the numerictextbox.
ex.:
var modelDett = $("#nsgridDett").data("kendoGrid").dataSource.getByUid(nsRowDettSelectUid);
kendo.bind($("#tableDetail"), modelDett);
// not update model
var importoKM = 100;
$("#txtImporto").data("kendoNumericTextBox").value(importoKM); //txtImporto -> input of tableDetail
I bind my model to a table.
If I update the values with widget, the model is updated.
If I set the value of the widget by value, the model is not updated.
This happens both for the dropdownlist and for both the numerictextbox.
ex.:
var modelDett = $("#nsgridDett").data("kendoGrid").dataSource.getByUid(nsRowDettSelectUid);
kendo.bind($("#tableDetail"), modelDett);
// not update model
var importoKM = 100;
$("#txtImporto").data("kendoNumericTextBox").value(importoKM); //txtImporto -> input of tableDetail