IColumnOptions

[ Interface ]

export interface IColumnOptions {
    width: number | null;
    widthUnit: TcHmi.DimensionUnit | 'factor';
    widthMode: 'Value' | 'Content';
    minWidth: number | null;
    minWidthUnit: TcHmi.DimensionUnit;
    maxWidth: number | null;
    maxWidthUnit: TcHmi.DimensionUnit;
    overflow: boolean;
}

Properties

Name

Type

Description

width

number, null

Numerical value of the width of this column

widthUnit

TcHmi.DimensionUnit | 'factor'

Unit of the width of this column. This can also be 'factor' at this point

widthMode

'Value' | 'Content'

Only value and content is allowed here.

minWidth

number, null

Numerical value of the minimum width of this column

minWidthUnit

TcHmi.DimensionUnit

Unit of the minimum width of this column.

maxnWidth

number, null

Numerical value of the maximum width of this column

maxWidthUnit

TcHmi.DimensionUnit

Unit of the maximum width of this column.

overflow

boolean

Specifies whether controls should be truncated if they are outside the cell.

See also

Schema: tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiGrid.ColumnOptions