Hi Peter,
Thanks – do you mean something like this?
columns: [{
text: 'Factors',
datafield: 'factors',
width: 80,
columntype: 'custom',
createeditor: function (row, cellvalue, editor, cellText, width, height) {
editor.jqxNumberInput({
decimalDigits: 4,
inputMode: 'simple',
max: 0,
min: 1,
theme: theme,
value: 0,
spinButtons: true,
spinMode: 'advanced'
});
},
initeditor: function (row, cellvalue, editor, celltext, pressedkey) {
editor.jqxNumberInput({
decimal: parseFloat(cellvalue),
max: GlobalMin,
min: GlobalMax,
});
},
and define vars GlobalMin and GlobalMax globally?