# rowData

The source row array for the table. Pass a new array to replace a complete query result, or use applyTransaction for partial updates.

Canonical: https://grid.syidax.com/docs/options/rowData/

<a id="meaning"></a>

## What does this API do?

The source row array for the table. Pass a new array to replace a complete query result, or use applyTransaction for partial updates.

<a id="contract"></a>

## Exact input and result types

```typescript
rowData: GridData[]
```

| Item | Value |
| --- | --- |
| JavaScript name | rowData |
| HTML attribute | row-data |
| Default | undefined |
| Input type | GridData[] |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="types"></a>

## Read related types

- [GridData](https://grid.syidax.com/docs/types/GridData.md)

<a id="recipes"></a>

## Feature explanations and examples

- [Data updates](https://grid.syidax.com/docs/features/data-updates.md) — Replace rowData when receiving a complete query result. For partial changes, pass add, update, and remove to applyTransaction. Updates match through getRowId, not display positions.
