Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / editFormColumnIds

Function: editFormColumnIds()

editFormColumnIds<TRow>(controller, isFormColumn?): string[]

The columns a record's form offers, in the grid's own order.

Derived from the LAYOUT rather than the raw column list, so a column the user hid stays out of the form too — offering a field nobody chose to see, and saving a value from it, is an invisible change. The grid's own columns (selection, the group column, row numbers) are never fields: with grouping shown as a column the form offered an empty, disabled "Region › Country" (pre-release review, 2026-10-16; the plain-JavaScript form already left them out).

Type Parameters

TRow

TRow

Parameters

controller

DataGridController<TRow> | null

isFormColumn?

(columnId) => boolean

Returns

string[]