jQuery.wijmo.c1gridview Namespace > options type : invalidCellValue Event |
var options; // Type: jQuery.wijmo.c1gridview.options // Create a new c1gridview widget $(".selector").c1gridview(options); // Get a previously created c1gridview widget instance var widgetInstance; // Type: jQuery.wijmo.c1gridview widgetInstance = $(".selector").data("wijmo-c1gridview"); // Set invalidCellValue event handler function widgetInstance.option("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"); } });