Skip to main content

isDisabled()

Description​

Checks whether the selection of cells is turned off

Usage​

isDisabled(): boolean;

Returns​

The method returns true if the selection is turned off; otherwise, false

Example​

const spreadsheet = new dhx.Spreadsheet("spreadsheet_container", {
selection: false,
// other config parameters
});
spreadsheet.parse(data);

const disabled = spreadsheet.selection.isDisabled(); // -> true

Change log: Added in v6.0.4

Related articles: