View as Markdown

API reference: @salmonui/data-grid/engine/sort

resolveLeaffunction

import { resolveLeaf } from '@salmonui/data-grid/engine/sort';
function resolveLeaf<Row>(columns: ColumnSnapshot<Row>, key: string): CompiledColumn<Row> | undefined;

Resolves a column key (columnId, then field) to a leaf column.