Wijmo UI for the Web
invalidCellValue Field
wijmo.grid Namespace > IDetailSettings Interface : invalidCellValue Field

The invalidCellValue event handler is a function called when a cell needs to start updating but the cell value is invalid. So if the value in a wijgrid cell can't be converted to the column target type, the invalidCellValue event will fire.

Syntax
var instance; // Type: wijmo.grid.IDetailSettings;
var value; // Type: any
value = instance.invalidCellValue;
var invalidCellValue : any;
Example
// Adds a style to the cell if the value entered is invalid
$("#element").wijgrid({
    invalidCellValue: function (e, args) {
        $(args.cell.container()).addClass("ui-state-error");
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ invalidCellValue: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridinvalidcellvalue", function (e, args) { // some code here });
See Also

Reference

IDetailSettings Interface