API reference: @salmonui/data-grid/engine/row-pinning
RowPinningOptionsinterface
import type { RowPinningOptions } from '@salmonui/data-grid/engine/row-pinning';interface RowPinningOptions<Row> {
readonly isRowPinned?: (row: Row) => boolean;
readonly rowIds?: readonly RowId[];
}
| Name | Signature | Description |
|---|---|---|
isRowPinnedoptional | readonly isRowPinned?: (row: Row) => boolean; | Rows pinned by data. Evaluated once per row of a data array; a patch re-tests only the added and changed rows, so pinning follows CRUD. Must be pure. Read at engine creation. |
rowIdsoptional | readonly rowIds?: readonly RowId[]; | Initially pinned row ids (besides |