
## RowCollection class

Collects the Row objects that represent the individual rows in a worksheet.

## Methods

| Name | Description |
| --- | --- |
| [clear()](#clear) | Clear all rows and cells. |
| [get()](#get) | Gets a Row object by given row index. The Row object of given row index will be instantiated if it does not exist before |
| [getCount()](#getcount) | Gets the number of rows in this collection. |
| [getRowByIndex(index)](#getrowbyindex) | Gets the row object by the position in the list. |
| [iterator()](#iterator) | Gets an enumerator that iterates rows through this collection |
| [removeAt(index)](#removeat) | Remove the row item at the specified index(position) in this collection. |

### clear() {#clear}

Clear all rows and cells.

### get() {#get}

Gets a Row object by given row index. The Row object of given row index will be instantiated if it does not exist before.

### getCount() {#getcount}

Gets the number of rows in this collection.

### getRowByIndex(index) {#getrowbyindex}

Gets the row object by the position in the list.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The position. |

**Returns:** Row — `Row` The Row object at given position.

### iterator() {#iterator}

Gets an enumerator that iterates rows through this collection

**Returns:** Iterator — `Iterator` enumerator

### removeAt(index) {#removeat}

Remove the row item at the specified index(position) in this collection.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | zero-based index(position, not |
