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
setPinnedRows(input: SyGridPinnedRowSetInput<GridRow>): Promise<SyGridPinnedRowsResult<GridRow>>| Arguments | Required | Type |
|---|---|---|
| input | Required | SyGridPinnedRowSetInput<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
- Row height and pinned rows
Row height, top/bottom pinned rows, full-width rows, and merged cells are separate layout features. Choose based on whether you need persistent summaries or wide detail content.