Hi btpy,
Which version of jQWidgets do you use? In another post you pointed out that it is 2.5.5. If that is the version that you use, please upgrade to the latest one as the APIs that you use may still be not available in 2.5.5.
Btw. for preventing incorrect input, you can use the “validation” callback.
{ text: 'Quantity', datafield: 'quantity', width: 70, align: 'right', cellsalign: 'right', columntype: 'numberinput', validation: function (cell, value) { if (value < 0 || value > 150) { return { result: false, message: "Quantity should be in the 0-150 interval" }; } return true; }, createeditor: function (row, cellvalue, editor) { editor.jqxNumberInput({min: 0, decimalDigits: 0, digits: 3 }); } },
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com/