ColumnOptions
Definition for the columns and thus their number.
You can define:
- Width (similar to Control Width)
- Width Mode (similar to Control Width Mode)
- Minimum Width (identical to Control Minimum Width)
- Maximum Width (identical to Control Maximum Width)
- Overflow determines whether a child control is truncated if it is larger than the cell.
Engineering
You can change the number of columns and their settings with this dialog.
Items | List of all objects added |
|---|---|
| Delete the selected object |
| Change the object order (top = left) |
| Add a new object |
Category: Layout
|
Name |
Description |
|---|---|
Column Width | Definition of the column width |
Selection of the method of calculating the width | |
Selection of the method of calculating the height | |
Column Max Width | Definition of the maximum column width |
Column Min Width | Definition of the minimum column width |
Overflow | Selection of whether controls that have been added to the row but placed outside the row area should be displayed |
Schema (version 1.8): tchmi:framework#/definitions/ColumnOptions
Schema (version 1.12): tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiGrid.ColumnOptions
Attribute getter
public getColumnOptions(): TcHmi.Controls.System.TcHmiGrid.IColumnOptions[] | undefined;Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
TcHmi.Controls.System.TcHmiGrid.IColumnOptions[], undefined | The current value of the attribute. |
Attribute setter
public setColumnOptions(valueNew: TcHmi.Controls.System.TcHmiGrid.IColumnOptions[] | null): void;Parameter
Name | Type | Description |
|---|---|---|
valueNew | TcHmi.Controls.System.TcHmiGrid.IColumnOptions[], null | The new value of the attribute. If null is passed, the internal default value is used. |
Return value
Type | Description |
|---|---|
void | No return value. |
![]() | Available from 1.8 |



