In my grid I’ve a field where I expect integer numbers.
{ label: ‘Campo testo 1’, dataField: ‘C1’, editor: ‘numberInput’, cellsFormat: ‘d2’},
The initial value is 0.
When I try to change the value either writing the number o clicking on butons I see the new value but in my onCellUpdate event I allways get 0.
onCellUpdate(cell, oldValue, value, confirm) {
let newValue = value;
console.log(newValue);
let row = cell.row.id;
let column = cell.column.index;
console.log(row + '/' + column);
sendDatiGriglia(newValue, row, column);
confirm(true);
},
What0s wrong ?
Tks
Tullio