afterEditStart
Description
Fires after editing of a cell has started
Usage
afterEditStart: (cell: string, value: string) => void;
Parameters
The callback of the event takes the following parameters:
cell
- (required) the id of a cellvalue
- (required) the value of a cell
Example
const spreadsheet = new dhx.Spreadsheet("spreadsheet", {});
spreadsheet.parse(data);
// subscribe on the "afterEditStart" event
spreadsheet.events.on("afterEditStart", function(cell, value){
console.log("Editing has started");
console.log(cell, value);
});
Related articles: Event handling