RangeViewCollection Object (JavaScript API for Excel)
Represents a collection of RangeView objects.
Properties
| Property | Type | Description | Req. Set |
|---|---|---|---|
| items | RangeView[] | A collection of rangeView objects. Read-only. | 1.3 |
See property access examples.
Relationships
None
Methods
| Method | Return Type | Description | Req. Set |
|---|---|---|---|
| getCount() | int | Gets the number of RangeView objects in the collection. | 1.4 |
| getItemAt(index: number) | RangeView | Gets a RangeView Row via it's index. Zero-Indexed. | 1.3 |
Method Details
getCount()
Gets the number of RangeView objects in the collection.
Syntax
rangeViewCollectionObject.getCount();
Parameters
None
Returns
int
getItemAt(index: number)
Gets a RangeView Row via it's index. Zero-Indexed.
Syntax
rangeViewCollectionObject.getItemAt(index);
Parameters
| Parameter | Type | Description |
|---|---|---|
| index | number | Index of the visible row. |
Returns
| Parameter | Type | Description | |
|---|---|---|---|
| param | object | Optional. Accepts parameter and relationship names as delimited string or an array. Or, provide loadOption object. |
Returns
void