Skip to content

Interface: RowActionsConfig\<TRow\>

Defined in: src/model/types.ts:224

Configures the row-actions column. When set, <DataGrid> injects a synthetic pinned column at the configured edge that renders per-row action buttons.

Type Parameters

TRow

TRow

Properties

actions

actions: RowAction<TRow>[]

Defined in: src/model/types.ts:226

The actions to render per row.


display?

optional display?: "menu" | "inline"

Defined in: src/model/types.ts:231

Display style. 'inline' renders icon buttons in a horizontal strip. 'menu' renders a kebab dropdown. Defaults to 'inline'.


pin?

optional pin?: false | "left" | "right"

Defined in: src/model/types.ts:236

Which edge to pin the actions column to. Default: 'right'. Set to false to leave it unpinned.


width?

optional width?: number

Defined in: src/model/types.ts:238

Column width in pixels. Defaults to a width derived from the action count.