ActionColumnSettings

Set of optional properties that define an Action Columns behaviour

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
autoWidthbooleanWhen true, estimates column width from button labels/icons (or dropdown label) at setup time. Dynamic labels and icons (functions) are not measured — set width explicitly in those cases.false
displayModeActionColumnDisplayModeHow buttons are rendered in the column. In 'dropdown' mode, per-button buttonStyle and iconPosition are ignored; the trigger uses fixed styling and menu items use the standard list layout (icon, then label).'buttons'
dropdownLabelstringLabel on the dropdown trigger when displayMode is 'dropdown''Actions'
minWidthnumberMinimum width (in pixels) for the column; also used as the column width when autoWidth is false
resizablebooleanWhether Column can be resized (by dragging column header edges)true
suppressMenubooleanWhether no menu should be shown for this Column header.false
suppressMovablebooleanWhether if this Column should be movable via draggingfalse
widthnumberPreferred width (in pixels) for Column; takes precedence over autoWidth and minWidth

Property Details

autoWidth

When true, estimates column width from button labels/icons (or dropdown label) at setup time. Dynamic labels and icons (functions) are not measured — set width explicitly in those cases.

TypeScript
autoWidth?: boolean;
Default Value

false

Property Value

boolean

displayMode

How buttons are rendered in the column. In 'dropdown' mode, per-button buttonStyle and iconPosition are ignored; the trigger uses fixed styling and menu items use the standard list layout (icon, then label).

TypeScript
displayMode?: ActionColumnDisplayMode;
Default Value

'buttons'

Property Value

ActionColumnDisplayMode

Label on the dropdown trigger when displayMode is 'dropdown'

TypeScript
dropdownLabel?: string;
Default Value

'Actions'

Property Value

string

minWidth

Minimum width (in pixels) for the column; also used as the column width when autoWidth is false

TypeScript
minWidth?: number;
Property Value

number

resizable

Whether Column can be resized (by dragging column header edges)

TypeScript
resizable?: boolean;
Default Value

true

Property Value

boolean

suppressMenu

Whether no menu should be shown for this Column header.

TypeScript
suppressMenu?: boolean;
Default Value

false

Property Value

boolean

suppressMovable

Whether if this Column should be movable via dragging

TypeScript
suppressMovable?: boolean;
Default Value

false

Property Value

boolean

width

Preferred width (in pixels) for Column; takes precedence over autoWidth and minWidth

TypeScript
width?: number;
Property Value

number