Hi,
I have a cell validation in a grid.
Basically, depending on a certain condition, on “cellendedit” event the “showcellerror” method is called in order to display an error message.
grid.on('cellendedit', function(event) { var args = event.args; var oldvalue = args.oldvalue; var newvalue = args.value; if (oldvalue != newvalue) { var cellType = self.getCellType(args.rowindex, args.datafield); var valid = self.validateValueForCellType(newvalue, cellType); if (valid) { self.changecell(args, oldvalue, newvalue, grid); } else { self.showcellerror(args, grid, self.cellValidationError("numeric")); } } });
It works fine until the last cell in the grid, where the message is not displayed.
I have debugged, and the condition is met, the code is executed.
Is it possible that this is a grid bug?
Thanks,
Ioana