Skip to main content

groupFill

Description

Fires on auto filling of cells

Usage

groupFill: (focusedCell: string, selectedCell: string) => void;

Parameters

The callback of the event takes the following parameters:

  • focusedCell - (required) the id of a cell in focus
  • selectedCell - (required) the ids of a selected cells

Example

const spreadsheet = new dhx.Spreadsheet("spreadsheet", {});
spreadsheet.parse(data);

// subscribe on the "groupFill" event
spreadsheet.events.on("groupFill", function (focusedCell, selectedCell) {
console.log(focusedCell, selectedCell);
});

Related articles: Event handling