jQuery.wijmo.wijgrid Namespace > options type : afterCellEdit Event |
Javascript (Usage) | |
---|---|
var instance; // Type: options instance.afterCellEdit = function(e, args) { }; |
Javascript (Specification) | |
---|---|
afterCellEdit = function ( e : Object, args : IAfterCellEditEventArgs ) { }; |
// Once cell editing is complete, the function calls the destroy method to destroy the wijcombobox widget and the wijinputnumber widget which are used as the custom editors. $("#element").wijgrid({ afterCellEdit: function(e, args) { switch (args.cell.column().dataKey) { case "Position": args.cell.container().find("input").wijcombobox("destroy"); break; case "Acquired": args.cell.container().find("input").wijinputnumber("destroy"); break; } } });