Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GridRowEditorProps

Interface: GridRowEditorProps<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

columnId

columnId: string


controller

controller: DataGridController<TRow>


engine

engine: EditingEngine<TRow>


lookupOptions?

optional lookupOptions?: readonly LookupItem[] | null

The column's lookup items (Enterprise) — null while loading. Undefined draws the plain input.


message

message: string | null

This field's validation message, or null.


onCancel

onCancel: () => void

Returns

void


onSave

onSave: () => void

Returns

void


saving

saving: boolean

True while the row's save is in flight; the fields go read-only.