jQuery.wijmo.wijgrid Namespace > options type : beforeCellEdit Event |
Javascript (Usage) | |
---|---|
var instance; // Type: options instance.beforeCellEdit = function(e, args) { }; |
Javascript (Specification) | |
---|---|
beforeCellEdit = function ( e : Object, args : IBeforeCellEditEventArgs ) { }; |
// Allow the user to change the price only if the product hasn't been discontinued: $("#element").wijgrid({ beforeCellEdit: function(e, args) { return !((args.cell.column().dataKey === "Price") && args.cell.row().data.Discontinued); } });