wijmo.grid.wijgrid Namespace > options type : invalidCellValue Event |
Javascript (Usage) | |
---|---|
$(function () { // Set invalidCellValue event handler function $(".selector").wijgrid({ invalidCellValue : function (e, args) { } }); }); |
Javascript (Specification) | |
---|---|
invalidCellValue = function ( e : Object, args : IInvalidCellValueEventArgs ) { }; |
// 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"); } });