or

$("#txtPrice").kendoNumericTextBox({ decimals: 5, step: 0.00001, format: '#.00000', min: 0 });var firstPrice = 0.89889;var numeric = $("#txtPrice").data("kendoNumericTextBox"); numeric.bind("change", function (e) { if (e.sender._old == 0) e.sender._value = firstPrice; }); numeric.bind("spin", function(e) { if (e.sender._old == 0) e.sender._value = firstPrice; });<asp:TextBox ID="txtPrice" runat="server" ClientIDMode="Static" Text="0"></asp:TextBox>SCRIPT5007: Unable to get value of the property 'TREEVIEWS': object is null or undefined
kendo.data.xml.js, line 146 character 17
TREEVIEWS is from the schema
schema: {
type: 'xml',
data: '/TABLE/TREEVIEWS',
model: {
id: "treeview",
fields: {
treeview: { editable:false, field: "treeview/text()" },
name: { editable:true, field: "name/text()", defaultValue:"" },
created: { editable:false, field: "created/text()", defaultValue:"" }
}
}
The call stack is:
evaluate
data
total
_change
g
trigger
splice
insert
addRow
Anonymous Function
dispatch
i
Any ideas on how to add a row to an empty grid ?