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
rangeSelection: boolean| Item | Value |
|---|---|
| JavaScript name | rangeSelection |
| HTML attribute | range-selection |
| Default | false |
| Input type | boolean |
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
- Cell range selection
A cell range is a rectangle spanning rows and columns. It defines the scope for copying, pasting, filling, and chart creation; selecting it does not change values.