Hi,
The background of my problem is that: I want to do the validation of user input by myself, and I implement it in the “cellendedit” event function. The code is:
my_grid.on('cellendedit', function (event) {
var args = event.args;
if (my_validate(args.datafield, args.value)) {
my_grid.jqxGrid('setcellvalue', args.rowindex, args.datafield, args.value);
} else {
my_grid.jqxGrid('setcellvalue', args.rowindex, args.datafield, args.oldvalue);
//code to refresh the cell
}
});
Could anybody tell me how to refresh only this cell to it’s original value? thanks!