# TableValue Class

> TableValue facade in the V1 navigator for a table value, providing access to rows and cells and methods to add, insert, or remove rows.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Extensions.Navigator.V1`
* Assembly: `UiPath.DocumentProcessing.Contracts`
* Inherits: [ResultsValueFacadeBase](resultsvaluefacadebase-class.md)

## Description

`TableValue` is a facade for the value of a table field. It wraps a [ResultsValue](results-value-class.md) and provides access to the table's rows as [TableRow](tablerow-class.md) objects and to individual cells as [BasicDataPoint](basicdatapoint-class.md) or [BasicValue](basicvalue-class.md) objects.

A `TableValue` is typically obtained from [TableDataPoint](tabledatapoint-class.md) or from `GetTableValue(...)` on [ComponentCollectionFacade](componentcollectionfacade-class.md).

## Members

### Constructors

| Constructor | Description |
|---|---|
| `TableValue(ResultsValue value)` | Initializes a new instance wrapping the specified table value. |

### Properties

| Property | Type | Description |
|---|---|---|
| `Rows` | [TableRow](tablerow-class.md)`[]` | All rows of the table. Read-only. |
| `this[int rowIndex]` | [TableRow](tablerow-class.md) | The row at the specified index, through indexer syntax. Read-only. |

### Methods

| Method | Returns | Description |
|---|---|---|
| `GetRow(int rowIndex)` | [TableRow](tablerow-class.md) | Returns the row at the specified index. |
| `GetCell(int rowIndex, int columnIndex)` | [BasicDataPoint](basicdatapoint-class.md) | Returns the cell at the specified row and column indices. |
| `GetCell(int rowIndex, string columnLookup)` | [BasicDataPoint](basicdatapoint-class.md) | Returns the cell at the specified row and column lookup. |
| `GetCellValue(int rowIndex, int columnIndex)` | [BasicValue](basicvalue-class.md) | Returns the cell value at the specified row and column indices. |
| `GetCellValue(int rowIndex, string columnLookup)` | [BasicValue](basicvalue-class.md) | Returns the cell value at the specified row and column lookup. |
| `AddEmptyRow(Field taxonomyField)` | [TableRow](tablerow-class.md) | Adds a new empty row built from the taxonomy definition and returns it. |
| `InsertEmptyRow(int index, Field taxonomyField)` | [TableRow](tablerow-class.md) | Inserts a new empty row built from the taxonomy definition at the specified index and returns it. |
| `RemoveRow(int rowIndex)` | `TableValue` | Removes the row at the specified index and returns this instance for chaining. |

### Inherited members

Confidence, content reference, derived fields, and validator properties (`Confidence`, `OcrConfidence`, `OperatorConfirmed`, `Reference`, `DerivedFields`, `ValidatorNotes`, `ValidatorNotesInfo`) and `GetRawResultsValue()` are inherited from [ResultsValueFacadeBase](resultsvaluefacadebase-class.md). The `taxonomyField` parameter is a [Field](field-class.md) taxonomy definition.
