setRow

Update a single row in place

Available since @roku-sdk/flex-grid 3.3.0

import { setRow } from "@roku-sdk/flex-grid";
setRow<T>(store: GridStore<T>, row: number, items: T[] | undefined): void

Deprecated.

Use FlexGridHandle to update grid data. Will be removed from the public exports in the next major version.

Description

Update a single row in place. Adds the row to dirtyRows and bumps version.

Parameters

NameTypeDescription
storeGridStore<T>
rownumber
itemsT[] | undefined

What’s Next

Did this page help you?