$(function () { // Set invalidCellValue event handler function $(".selector").wijgrid({ invalidCellValue : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set invalidCellValue event handler function $(".selector").wijgrid({ invalidCellValue : function (e, args) { } }); });
// 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"); } });