var instance; // Type: wijmo.grid.IWijgridOptions; var value; // Type: any value = instance.afterCellEdit;
var afterCellEdit : any;
The afterCellEdit event handler is a function called after cell editing is completed. This function can assist you in completing many tasks, such as in making changes once editing is completed; in tracking changes in cells, columns, or rows; or in integrating custom editing functions on the front end.
var instance; // Type: wijmo.grid.IWijgridOptions; var value; // Type: any value = instance.afterCellEdit;
var afterCellEdit : any;
// 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; } } });