API REFERENCE

rangeSelection

Enables rectangular cell selection, independently of row selection. Supplies ranges for copying, filling, and chart integration.

What does this API do?

Enables rectangular cell selection, independently of row selection. Supplies ranges for copying, filling, and chart integration.

API for Pro features: Cell range selection

Exact input and result types

typescript
rangeSelection: boolean
ItemValue
JavaScript namerangeSelection
HTML attributerange-selection
Defaultfalse
Input typeboolean

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the range-selection attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples