[]
Sheets.DataRange.DataRangeManager
• new DataRangeManager(sheet
)
description
Represents a data range manager.
Name | Type | Description |
---|---|---|
sheet |
Worksheet |
The worksheet. |
▸ add(name
, dataProvider
, range
, options?
): DataRange
description
Adds a data range.
Name | Type | Description |
---|---|---|
name |
string |
The data range name. |
dataProvider |
string | IDataProvider |
The data provider. String type means the tableSheet name, it will create a TableSheetDataProvider. |
range |
Range |
The range of data range. |
options? |
IDataRangeOptions |
- |
The added data range.
▸ all(): DataRange
[]
description
Get all data ranges.
The array of data range instances. Default is empty array.
▸ clear(): void
description
Remove all data ranges.
void
▸ get(name
): DataRange
description
Gets a data range.
Name | Type | Description |
---|---|---|
name |
string |
The data range name. |
The target data range.
▸ remove(name
): void
description
Remove a data range.
Name | Type | Description |
---|---|---|
name |
string |
The data range name. |
void