ActionColumnSettings

View as Markdown

Set of optional properties that define an Action Column's behaviour

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
autoWidthbooleanWhen true, estimates column width from Control labels/icons at setup time.
Dynamic labels and icons (functions) are not measured — set width explicitly in those cases.
false
minWidthnumberMinimum width (in pixels) for the column; also used as the column width when autoWidth is false
overflow'none' | 'menu'How Controls behave when they don't all fit in the cell width.

- 'none' (default): Controls render inline and may be clipped.
- 'menu': overflowing Controls collapse into a "⋯" menu.
'none'
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 Control labels/icons 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

minWidth

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

TypeScript
minWidth?: number;
Property Value

number

overflow

How Controls behave when they don't all fit in the cell width.

  • 'none' (default): Controls render inline and may be clipped.
  • 'menu': overflowing Controls collapse into a "⋯" menu.
TypeScript
overflow?: 'none' | 'menu';
Default Value

'none'

Property Value

'none' | 'menu'

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