API reference: @salmonui/data-grid/engine/row-pinning
RowPinningMethodstype
import type { RowPinningMethods } from '@salmonui/data-grid/engine/row-pinning';type RowPinningMethods<Row> = {
isPinned(ctx: ModuleContext<Row>, rowId: RowId): boolean;
getPinnedRowIds(ctx: ModuleContext<Row>): readonly RowId[];
};
| Name | Signature | Description |
|---|---|---|
isPinned | isPinned(ctx: ModuleContext<Row>, rowId: RowId): boolean; | True when the row is pinned (explicitly, or by |
getPinnedRowIds | getPinnedRowIds(ctx: ModuleContext<Row>): readonly RowId[]; | Ids of the pinned rows the view shows, in display order. |