I'm trying to get a popup editor working using my own template. I can get the bindings to work programmatically from the edit event of the grid:
edit: function (e) { $('#numrkText').kendoNumericTextBox({ value: e.model.Qty, format: "{0:n0}" }); $('#divInitiator').kendoDropDownList({ dataSource: theSysUsers, dataValueField: 'value', dataTextField: 'text', value: e.model.InitiatorID.toString() });}But I can't get declarative binding to work: (which is what I want)
<td class="tdLefts"><input type="text" name="Qty" data-type="number" data-bind="value:Qty" data-role="numerictextbox" /></td>I get the same kind of error trying to bind the dropdownlist, I always end up at the maddeningly useless error showing you an anonymous function.
The Grid is not MVVM bound, My goal is to get the editor to be MVVM, though the grid is passed a json object array from a server ajax response.
Thanks, Bob