API REFERENCE

setPinnedRows

Sets top/bottom pinned row data and returns the application result.

What does this API do?

Sets top/bottom pinned row data and returns the application result.

Exact input and result types

typescript
setPinnedRows(input: SyGridPinnedRowSetInput<GridRow>): Promise<SyGridPinnedRowsResult<GridRow>>
ArgumentsRequiredType
inputRequiredSyGridPinnedRowSetInput<GridRow>

The return type is Promise<SyGridPinnedRowsResult<GridRow>>.

Usage flow

After registering and initializing the Grid element, call grid.setPinnedRows(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples