Column
[ Interface ]
export interface SimpleColumn {
cellBackground?: TcHmi.SolidColor;
textColor?: TcHmi.SolidColor;
columnData: 'Name' | 'Value' | 'Datatype' | 'ValueDisplay';
label: string;
width: number;
widthUnit: TcHmiDatagrid.DimensionUnitOrFactor;
resize?: boolean;
minWidth?: number;
minWIdthUnit?: TcHmi.DimensionUnit;
editable?: boolean;
sortable?: boolean;
horizontalAlignment?: TcHmi.HorizontalAlignment;
verticalAlignment?: TcHmi.VerticalAlignment;
format?: TcHmi.IFunction;
headerHorizontalAlignment?: TcHmi.HorizontalAlignment;
headerVerticalAlignment?: TcHmi.VerticalAlignment;
ignoreEscapeSequences?: boolean;
autoFocusOut?: boolean;
autoSelectText?: boolean;
}
Properties
Name | Type | Description |
|---|---|---|
cellBackground (optional) | Background color of the cells in this column | |
textColor (optional) | Text color of the cells in this column | |
columnData | 'Name' | 'Value' | 'Datatype' | 'ValueDisplay' | The data displayed in the column. |
label | Column labeling | |
width | Column width | |
widthUnit | Unit of the column width | |
resize (optional) | Resizable | |
minWidth (optional) | Minimum width of the column | |
minWidthUnit (optional) | Unit for the minimum width of the column | |
editable (optional) | Changeability | |
sortable (optional) | Sortability | |
horizontalAlignment (optional) | Horizontal alignment of the text | |
verticalAlignment (optional) | Vertical alignment of the text | |
format | Formatting function | |
headerHorizontalAlignment (optional) | Horizontal alignment of the header | |
headerVerticalAlignment (optional) | Vertical alignment of the header | |
ignoreEscapeSequences (optional) | If set to "true", a backslash in a text is displayed unchanged in the HMI. | |
autoFocusOut (optional) | Automatic loss of focus when pressing the Enter or Escape key. | |
autoSelectText (optional) | Text selection with cell focus |
See also
Schema: tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiObjectBrowser.ColumnDefinitionList
![]() | Available since version 1.12.760 |
