View as Markdown

API reference: @salmonui/data-grid/engine/row-drag-drop

isPinnedIndexfunction

import { isPinnedIndex } from '@salmonui/data-grid/engine/row-drag-drop';
function isPinnedIndex<Row>(model: RowModelSnapshot<Row>, index: number): boolean;

True for a visible index among the pinned rows, which head the model. Pinned rows are neither drag sources nor drop targets: their place comes from pinning and the sort, not from the row order.