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/selection/selection_beforeunselect_event/ below:

Website Navigation


JavaScript Grid - beforeUnSelect Event

beforeUnSelect

fires before unselecting a cell

beforeUnSelect: (row: object, column: object) => boolean | void;

Parameters:

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

Returns:

Return false to prevent unselecting of a cell; otherwise, true.

Example

grid.selection.events.on("BeforeUnSelect", (row, column) => {
console.log("beforeUnSelect", row, column);
return false;
});

It is also possible to use the simplified version of the event:

grid.events.on("BeforeUnSelect", (row, column) => {
console.log("beforeUnSelect", row, column);
return false;
});
Change log:

added in v7.0


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