A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/api/blockselection/afterblockselectionapply_event/ below:

Website Navigation


JavaScript Grid - afterBlockSelectionApply Event

afterBlockSelectionApply

pro version only

This functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.

triggered after applying the selection

Usage​
afterBlockSelectionApply: (
startCell: { row: object; column: object },
endCell: { row: object; column: object },
handle: boolean,
event: MouseEvent | TouchEvent
) => void;
Parameters:

The callback of the event is called with the following parameters:

startCell (object) an object that contains the initial cell of the selection, includes the following properties: endCell (object) an object that contains the end cell of the selection, includes the following properties: handle (boolean) indicates whether the handle was used (true) or a regular selection (false) event (Event) the browser event: MouseEvent or TouchEvent

Example

grid.block.events.on("afterBlockSelectionApply", (startCell, endCell) => {
console.log("Selection applied:", startCell.column.id, endCell.column.id);
});

Related API: beforeBlockSelectionApply

Change log:

added in v9.2


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4