Column
[ Interface ]
interface Column {
cellBackground?: TcHmi.SolidColor | null;
textColor?: TcHmi.SolidColor | null;
columnData?: ColumnData | string;
customMessage?: string;
label?: string;
width: number;
widthUnit: TcHmi.Controls.Beckhoff.TcHmiDatagrid.DimensionUnitOrFactor;
resize?: boolean;
minWidth?: number;
minWidthUnit?: TcHmi.DimensionUnit;
horizontalAlignment?: TcHmi.HorizontalAlignment;
verticalAlignment?: TcHmi.VerticalAlignment;
format?: TcHmi.IFunction;
headerHorizontalAlignment?: TcHmi.HorizontalAlignment;
headerVerticalAlignment?: TcHmi.VerticalAlignment;
ignoreEscapeSequences?: boolean;
}Properties
Name | Type | Description |
|---|---|---|
cellBackground | Background color of the cells in this column. | |
textColor | Text color of the cells in this column. | |
columnData | Data displayed in the column. | |
customMessage | User-defined message that is displayed in the column. | |
label | Name of the label for this column. | |
width | Width for this column. | |
widthUnit | Unit of the width for this column. | |
resize | Whether the size of the column can be changed. | |
minWidth | Minimum width for this column. | |
minWidthUnit | Unit of the minimum width for this column. | |
horizontalAlignment | Horizontal alignment of this column. | |
verticalAlignment | Vertical alignment of this column. | |
format | A reference to a function that is called for each entry. | |
headerHorizontalAlignment | Horizontal alignment of this head cell. | |
headerVerticalAlignment | Vertical alignment of this head cell. | |
ignoreEscapeSequences | If this option is set to "true", a backslash in a text is displayed unchanged in the HMI. |
![]() | Available since version 1.14.3.130 |
