View as Markdown

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

BLANK_ROW_ID_PREFIXconst

import { BLANK_ROW_ID_PREFIX } from '@salmonui/data-grid/engine/edit';

Also exported from @salmonui/data-grid/engine/edit-state.

const BLANK_ROW_ID_PREFIX = "__new:blank-";

Ids of the always-visible add row (showNewRow): this prefix plus a sequence starting at 1.