Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Controls.14.4.1/runtimes/native1.12-tchmi/TcHmiTreeView/Description.json
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

1419 lines
56 KiB
JSON

{
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "TcHmiTreeView",
"namespace": "TcHmi.Controls.Beckhoff",
"displayName": "Tree View",
"version": {
"full": "14.4.1.0",
"major": 14,
"minor": 4,
"build": 1,
"revision": 0
},
"visible": true,
"themeable": "Standard",
"base": "TcHmi.Controls.System.TcHmiControl",
"description": "A multi column tree view for data.",
"defaultDesignerEvent": "",
"properties": {
"containerControl": false,
"geometry": {
"width": 280,
"height": 200
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
},
{
"name": "Icons/24x24.png",
"width": 24,
"height": 24
},
{
"name": "Icons/32x32.png",
"width": 32,
"height": 32
},
{
"name": "Icons/64x64.png",
"width": 64,
"height": 64
}
],
"template": "Template.html",
"dependencyFiles": [
{
"name": "Style.css",
"type": "Stylesheet",
"description": ""
},
{
"name": "../dist/TcHmiTreeView/TcHmiTreeView.esm.js",
"type": "EsModule",
"description": "Contains all the main logic as ES module."
}
],
"themes": {
"Base": {
"resources": [
{
"name": "Themes/Base/Style.css",
"type": "Stylesheet",
"description": ""
}
]
},
"Base-Dark": {
"resources": [
{
"name": "Themes/Base-Dark/Style.css",
"type": "Stylesheet",
"description": ""
}
]
}
},
"attributes": [
{
"name": "data-tchmi-columns",
"propertyName": "Columns",
"propertySetterName": "setColumns",
"propertyGetterName": "getColumns",
"displayName": "Columns",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTreeView.ColumnDefinitionList",
"category": "Common",
"description": "Description of the columns and the format of the data",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": [
{
"name": "Value",
"label": "Column 1",
"control": "TextBlock",
"width": 280,
"widthUnit": "px",
"resize": true,
"minWidth": 200,
"minWidthUnit": "px",
"editable": false,
"horizontalAlignment": "Left",
"verticalAlignment": "Center",
"cellBackground": null,
"textColor": null
}
],
"defaultValueInternal": []
},
{
"name": "data-tchmi-hierarchical-data-property",
"propertyName": "HierarchicalDataProperty",
"propertySetterName": "setHierarchicalDataProperty",
"propertyGetterName": "getHierarchicalDataProperty",
"displayName": "Hierarchical Data Property",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:general#/definitions/String",
"category": "Common",
"description": "Name of the property of the Data object which defines the child objects.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": "children",
"defaultValueInternal": null
},
{
"name": "data-tchmi-data",
"propertyName": "Data",
"propertySetterName": "setData",
"propertyGetterName": "getData",
"displayName": "Data",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:general#/definitions/Array",
"category": "Common",
"description": "Data array to show in the tree view (format is defined in the Columns attribute). \nThis attribute is not used if a DataSymbol is configured.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": [
{
"Value": "First Entry",
"children": [
{
"Value": "First Child",
"children": [
{
"Value": "Third Level Element"
}
]
},
{
"Value": "Second Child"
}
]
},
{
"Value": "Second Entry"
},
{
"Value": "Third Entry"
}
],
"defaultValueInternal": []
},
{
"name": "data-tchmi-data-schema",
"propertyName": "DataSchema",
"propertySetterName": "setDataSchema",
"propertyGetterName": "getDataSchema",
"displayName": "Data Schema",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:general#/definitions/Object",
"category": "Common",
"description": "The schema that describes the data defined in the 'Data' attribute. Is needed to determine the type of AutoDetectControl Columns. \nThis attribute is not used if a DataSymbol is configured.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-data-symbol",
"propertyName": "DataSymbol",
"propertySetterName": "setDataSymbol",
"propertyGetterName": "getDataSymbol",
"displayName": "Data Symbol",
"visible": true,
"themeable": "None",
"displayPriority": 11,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTreeView.DataSymbol",
"category": "Common",
"description": "A Symbol of type tchmi:general#/definitions/Array which contains the data to be displayed in the tree view. The data will be paged if it is a server symbol and changes in the tree view will be written back to the symbol. \nThis attribute overwrites an existing data attribute.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-indirect-write",
"propertyName": "IndirectWrite",
"propertySetterName": "setIndirectWrite",
"propertyGetterName": "getIndirectWrite",
"displayName": "Indirect Write",
"visible": true,
"themeable": "Advanced",
"displayPriority": 14,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "If set to true, all inputs made by the user will not be written to the data until the 'writePreparedValues' function is called.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-is-read-only",
"propertyName": "IsReadOnly",
"propertySetterName": "setIsReadOnly",
"propertyGetterName": "getIsReadOnly",
"displayName": "Is Read Only",
"visible": true,
"themeable": "Standard",
"displayPriority": 52,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "Controls whose primary purpose is data input can be set to read-only to only display data without allowing modification.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-sorting",
"propertyName": "Sorting",
"propertySetterName": "setSorting",
"propertyGetterName": "getSorting",
"displayName": "Sorting",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/Sorting",
"category": "Data",
"description": "Can be used to sort the data. If used in combination with DataSymbol, the data will be sorted on the server.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": []
},
{
"name": "data-tchmi-filter",
"propertyName": "Filter",
"propertySetterName": "setFilter",
"propertyGetterName": "getFilter",
"displayName": "Filter",
"visible": true,
"themeable": "Advanced",
"displayPriority": 11,
"type": "tchmi:server#/definitions/filter",
"category": "Data",
"description": "Can be used to filter the data. If used in combination with DataSymbol, the data will be filtered on the server.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-filter-strategy",
"propertyName": "FilterStrategy",
"propertySetterName": "setFilterStrategy",
"propertyGetterName": "getFilterStrategy",
"displayName": "Filter Strategy",
"visible": true,
"themeable": "Advanced",
"displayPriority": 12,
"type": "tchmi:framework#/definitions/FilterStrategy",
"category": "Data",
"description": "The filter strategy to use. DepthFirst will include items that don't match the filter if they have children that match, while BreadthFirst will only include items that directly match the filter, regardless of their children.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "BreadthFirst"
},
{
"name": "data-tchmi-selected-row-index",
"propertyName": "SelectedRowIndex",
"propertySetterName": "setSelectedRowIndex",
"propertyGetterName": "getSelectedRowIndex",
"displayName": "Selected Row Index",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTreeView.Index",
"category": "Data",
"description": "The selected row by its hierarchical index. The hierarchical index is an array containing an index value for each level of a tree structure.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-selected-column-index",
"propertyName": "SelectedColumnIndex",
"propertySetterName": "setSelectedColumnIndex",
"propertyGetterName": "getSelectedColumnIndex",
"displayName": "Selected Column Index",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:general#/definitions/UDINT",
"category": "Data",
"description": "The selected column by its index.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-row-classes-provider",
"propertyName": "RowClassesProvider",
"propertySetterName": "setRowClassesProvider",
"propertyGetterName": "getRowClassesProvider",
"displayName": "Row Classes Provider",
"visible": true,
"themeable": "Advanced",
"displayPriority": 80,
"type": "tchmi:framework#/definitions/Function",
"allowedFunctions": {
"returnType": "tchmi:general#/definitions/Array",
"requiredArguments": [
{
"type": "tchmi:general#/definitions/Any",
"description": "The row value to use to determine the classes for the row."
},
{
"type": "tchmi:general#/definitions/Array",
"description": "The hierarchical index of the row data in the data."
},
{
"type": "tchmi:general#/definitions/Array",
"description": "The hierarchical index. This may differ from the data index if the table is sorted."
}
],
"requiredWaitMode": "Synchronous"
},
"category": "Data",
"description": "Specifies a function that takes row data as an argument and returns an array of strings to be used as CSS classes on the row.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-width-mode",
"propertyName": "WidthMode",
"propertySetterName": "setWidthMode",
"propertyGetterName": "getWidthMode",
"displayName": "Width Mode",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/SizeModeWithContent",
"category": "Layout",
"description": "Defines if the width is taken from the width value, calculated from left and right (parent) or calculated from the combined width of the configured columns.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Value"
},
{
"name": "data-tchmi-height-mode",
"propertyName": "HeightMode",
"displayPriority": 60,
"propertySetterName": "setHeightMode",
"propertyGetterName": "getHeightMode",
"displayName": "Height Mode",
"visible": true,
"themeable": "Advanced",
"type": "tchmi:framework#/definitions/SizeModeWithContent",
"category": "Layout",
"description": "Defines if the height is taken from the height value, calculated from top and bottom (parent) or calculated from the number of rows in the data.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Value"
},
{
"name": "data-tchmi-header-height",
"propertyName": "HeaderHeight",
"propertySetterName": "setHeaderHeight",
"propertyGetterName": "getHeaderHeight",
"displayName": "Header Height",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Header",
"description": "Height of the table header cells.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 30
},
{
"name": "data-tchmi-header-height-unit",
"propertyName": "HeaderHeightUnit",
"propertySetterName": "setHeaderHeightUnit",
"propertyGetterName": "getHeaderHeightUnit",
"refTo": "HeaderHeight",
"displayName": "Header Height Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Header",
"description": "Could be 'px' or for relative positioning '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-header-cell-padding",
"propertyName": "HeaderCellPadding",
"propertySetterName": "setHeaderCellPadding",
"propertyGetterName": "getHeaderCellPadding",
"displayName": "Header Cell Padding",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/Padding",
"category": "Header",
"description": "The distance of the header to the border.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-header-font-family",
"propertyName": "HeaderFontFamily",
"propertySetterName": "setHeaderFontFamily",
"propertyGetterName": "getHeaderFontFamily",
"displayName": "Header Font Family",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontFamily",
"category": "Header",
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-header-font-size",
"propertyName": "HeaderFontSize",
"propertySetterName": "setHeaderFontSize",
"propertyGetterName": "getHeaderFontSize",
"displayName": "Header Font Size",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Header",
"description": "The size of the font. Percent values are relative to the parent elements font size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-header-font-size-unit",
"propertyName": "HeaderFontSizeUnit",
"propertySetterName": "setHeaderFontSizeUnit",
"propertyGetterName": "getHeaderFontSizeUnit",
"refTo": "HeaderFontSize",
"displayName": "Header Font Size Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Header",
"description": "Could be 'px' or for relative sizing '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-header-font-style",
"propertyName": "HeaderFontStyle",
"propertySetterName": "setHeaderFontStyle",
"propertyGetterName": "getHeaderFontStyle",
"displayName": "Header Font Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontStyle",
"category": "Header",
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-header-font-weight",
"propertyName": "HeaderFontWeight",
"propertySetterName": "setHeaderFontWeight",
"propertyGetterName": "getHeaderFontWeight",
"displayName": "Header Font Weight",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontWeight",
"category": "Header",
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-row-height",
"propertyName": "RowHeight",
"propertySetterName": "setRowHeight",
"propertyGetterName": "getRowHeight",
"displayName": "Row Height",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Grid",
"description": "Height of a row.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 30
},
{
"name": "data-tchmi-row-height-unit",
"propertyName": "RowHeightUnit",
"propertyGetterName": "getRowHeightUnit",
"refTo": "RowHeight",
"displayName": "Row Height Unit",
"visible": true,
"displayPriority": 10,
"type": "tchmi:framework#/definitions/PixelUnit",
"category": "Grid",
"description": "Only Pixel is allowed.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-cell-content-padding",
"propertyName": "CellContentPadding",
"propertySetterName": "setCellContentPadding",
"propertyGetterName": "getCellContentPadding",
"displayName": "Cell Content Padding",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/Padding",
"category": "Grid",
"description": "The distance of the cell content to the border.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": {
"left": 3,
"leftUnit": "px",
"right": 3,
"rightUnit": "px",
"top": 0,
"topUnit": "px",
"bottom": 0,
"bottomUnit": "px"
},
"defaultValueInternal": null
},
{
"name": "data-tchmi-grid-font-family",
"propertyName": "GridFontFamily",
"propertySetterName": "setGridFontFamily",
"propertyGetterName": "getGridFontFamily",
"displayName": "Grid Font Family",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontFamily",
"category": "Grid",
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-grid-font-size",
"propertyName": "GridFontSize",
"propertySetterName": "setGridFontSize",
"propertyGetterName": "getGridFontSize",
"displayName": "Grid Font Size",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Grid",
"description": "The size of the font. Percent values are relative to the parent elements font size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-grid-font-size-unit",
"propertyName": "GridFontSizeUnit",
"propertySetterName": "setGridFontSizeUnit",
"propertyGetterName": "getGridFontSizeUnit",
"refTo": "GridFontSize",
"displayName": "Grid Font Size Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Grid",
"description": "Could be 'px' or for relative sizing '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-grid-font-style",
"propertyName": "GridFontStyle",
"propertySetterName": "setGridFontStyle",
"propertyGetterName": "getGridFontStyle",
"displayName": "Grid Font Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontStyle",
"category": "Grid",
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-grid-font-weight",
"propertyName": "GridFontWeight",
"propertySetterName": "setGridFontWeight",
"propertyGetterName": "getGridFontWeight",
"displayName": "Grid Font Weight",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontWeight",
"category": "Grid",
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-show-header",
"propertyName": "ShowHeader",
"propertySetterName": "setShowHeader",
"propertyGetterName": "getShowHeader",
"displayName": "Show Header",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:general#/definitions/Boolean",
"category": "Header",
"description": "Defines whether the header is displayed or not.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-show-row-numbers",
"propertyName": "ShowRowNumbers",
"propertySetterName": "setShowRowNumbers",
"propertyGetterName": "getShowRowNumbers",
"displayName": "Show Row Numbers",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:general#/definitions/Boolean",
"category": "Row Numbers",
"description": "Defines whether the row numbers are displayed or not.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-row-numbers-resizable",
"propertyName": "RowNumbersResizable",
"propertySetterName": "setRowNumbersResizable",
"propertyGetterName": "getRowNumbersResizable",
"displayName": "Row Numbers Resizable",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:general#/definitions/Boolean",
"category": "Row Numbers",
"description": "Defines whether the row numbers are resizable or not.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": true
},
{
"name": "data-tchmi-row-numbers-start-number",
"propertyName": "RowNumbersStartNumber",
"propertySetterName": "setRowNumbersStartNumber",
"propertyGetterName": "getRowNumbersStartNumber",
"displayName": "Row Numbers Start Number",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:general#/definitions/Number",
"category": "Row Numbers",
"description": "The starting number of the row numbers.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 1
},
{
"name": "data-tchmi-row-numbers-width",
"propertyName": "RowNumbersWidth",
"propertySetterName": "setRowNumbersWidth",
"propertyGetterName": "getRowNumbersWidth",
"displayName": "Row Numbers Width",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Row Numbers",
"description": "Width of the Row Number Column",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 30
},
{
"name": "data-tchmi-row-numbers-width-unit",
"propertyName": "RowNumbersWidthUnit",
"propertySetterName": "setRowNumbersWidthUnit",
"propertyGetterName": "getRowNumbersWidthUnit",
"refTo": "RowNumbersWidth",
"displayName": "Row Numbers Width Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Row Numbers",
"description": "Could be 'px' or for relative positioning '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-row-numbers-horizontal-alignment",
"propertyName": "RowNumbersHorizontalAlignment",
"propertySetterName": "setRowNumbersHorizontalAlignment",
"propertyGetterName": "getRowNumbersHorizontalAlignment",
"displayName": "Row Numbers Horizontal Alignment",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/HorizontalAlignment",
"category": "Row Numbers",
"description": "The horizontal alignment of the row numbers",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Center"
},
{
"name": "data-tchmi-row-numbers-vertical-alignment",
"propertyName": "RowNumbersVerticalAlignment",
"propertySetterName": "setRowNumbersVerticalAlignment",
"propertyGetterName": "getRowNumbersVerticalAlignment",
"displayName": "Row Numbers Vertical Alignment",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/VerticalAlignment",
"category": "Row Numbers",
"description": "The vertical alignment of the row numbers",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Center"
},
{
"name": "data-tchmi-row-numbers-cell-padding",
"propertyName": "RowNumbersCellPadding",
"propertySetterName": "setRowNumbersCellPadding",
"propertyGetterName": "getRowNumbersCellPadding",
"displayName": "Row Numbers Cell Padding",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/Padding",
"category": "Row Numbers",
"description": "The distance of the numbers column to the border.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-row-numbers-font-family",
"propertyName": "RowNumbersFontFamily",
"propertySetterName": "setRowNumbersFontFamily",
"propertyGetterName": "getRowNumbersFontFamily",
"displayName": "Row Numbers Font Family",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontFamily",
"category": "Row Numbers",
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-row-numbers-font-size",
"propertyName": "RowNumbersFontSize",
"propertySetterName": "setRowNumbersFontSize",
"propertyGetterName": "getRowNumbersFontSize",
"displayName": "Row Numbers Font Size",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Row Numbers",
"description": "The size of the font. Percent values are relative to the parent elements font size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-row-numbers-font-size-unit",
"propertyName": "RowNumbersFontSizeUnit",
"propertySetterName": "setRowNumbersFontSizeUnit",
"propertyGetterName": "getRowNumbersFontSizeUnit",
"refTo": "RowNumbersFontSize",
"displayName": "Row Numbers Font Size Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Row Numbers",
"description": "Could be 'px' or for relative sizing '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-row-numbers-font-style",
"propertyName": "RowNumbersFontStyle",
"propertySetterName": "setRowNumbersFontStyle",
"propertyGetterName": "getRowNumbersFontStyle",
"displayName": "Row Numbers Font Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontStyle",
"category": "Row Numbers",
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-row-numbers-font-weight",
"propertyName": "RowNumbersFontWeight",
"propertySetterName": "setRowNumbersFontWeight",
"propertyGetterName": "getRowNumbersFontWeight",
"displayName": "Row Numbers Font Weight",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontWeight",
"category": "Row Numbers",
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-table-border-width",
"propertyName": "TableBorderWidth",
"propertySetterName": "setTableBorderWidth",
"propertyGetterName": "getTableBorderWidth",
"displayName": "Table Border Width",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Grid",
"description": "Defines the border width of the table.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 1
},
{
"name": "data-tchmi-table-border-style",
"propertyName": "TableBorderStyle",
"propertySetterName": "setTableBorderStyle",
"propertyGetterName": "getTableBorderStyle",
"displayName": "Table Border Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/BorderStyle",
"category": "Grid",
"description": "Defines the border style of the table.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-header-background-color",
"propertyName": "HeaderBackgroundColor",
"propertySetterName": "setHeaderBackgroundColor",
"propertyGetterName": "getHeaderBackgroundColor",
"displayName": "Header Background Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/Color",
"category": "Colors",
"description": "Defines the background color of the table header.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-header-text-color",
"propertyName": "HeaderTextColor",
"propertySetterName": "setHeaderTextColor",
"propertyGetterName": "getHeaderTextColor",
"displayName": "Header Text Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the text color of the table header.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-row-numbers-background-color",
"propertyName": "RowNumbersBackgroundColor",
"propertySetterName": "setRowNumbersBackgroundColor",
"propertyGetterName": "getRowNumbersBackgroundColor",
"displayName": "Row Numbers Background Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/Color",
"category": "Colors",
"description": "Defines the background color of the row numbers column.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-row-numbers-text-color",
"propertyName": "RowNumbersTextColor",
"propertySetterName": "setRowNumbersTextColor",
"propertyGetterName": "getRowNumbersTextColor",
"displayName": "Row Numbers Text Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the text color of the row numbers column.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-table-border-color",
"propertyName": "TableBorderColor",
"propertySetterName": "setTableBorderColor",
"propertyGetterName": "getTableBorderColor",
"displayName": "Table Border Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the border color of the table.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-data-has-changed",
"displayName": "Data Has Changed",
"propertyName": "DataHasChanged",
"propertyGetterName": "getDataHasChanged",
"visible": true,
"type": "tchmi:general#/definitions/Boolean",
"category": "Data",
"description": "The DataHasChanged property show if the user changed data.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true
},
{
"name": "data-tchmi-selected-row-value",
"displayName": "Selected Row Value",
"propertyName": "SelectedRowValue",
"propertyGetterName": "getSelectedRowValue",
"visible": true,
"type": "tchmi:general#/definitions/Any",
"category": "Data",
"description": "The data of the selected row.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true
},
{
"name": "data-tchmi-selected-cell-value",
"displayName": "Selected Cell Value",
"propertyName": "SelectedCellValue",
"propertyGetterName": "getSelectedCellValue",
"visible": true,
"type": "tchmi:general#/definitions/Any",
"category": "Data",
"description": "The value of the selected cell.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true
}
],
"attributeCategories": [
{
"name": "Data",
"displayPriority": 500,
"defaultCollapsed": true,
"description": "Attributes defining the data the control is showing."
},
{
"name": "Grid",
"displayPriority": 510,
"defaultCollapsed": true,
"description": "Attributes defining the grid layout of the control."
},
{
"name": "Header",
"displayPriority": 520,
"defaultCollapsed": true,
"description": "Attributes defining the header of the control."
},
{
"name": "Row Numbers",
"displayPriority": 530,
"defaultCollapsed": true,
"description": "Attributes defining the generated row numbers of the control."
}
],
"functions": [
{
"name": "selectParentRow",
"displayName": "selectParentRow",
"visible": true,
"description": "A function to selected the parent element of the currently selected element.",
"category": "Data",
"params": [],
"type": null,
"heritable": true
},
{
"name": "collapseAll",
"displayName": "collapseAll",
"visible": true,
"description": "A function to callapse every expanded element.",
"category": "Data",
"params": [],
"type": null,
"heritable": true
},
{
"name": "expandElement",
"displayName": "expandElement",
"visible": true,
"description": "Expand an element by its hierarchical index.",
"category": "Data",
"params": [
{
"name": "index",
"displayName": "Index",
"description": "The hierarchical index of the element to expand",
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTreeView.Index",
"bindable": true,
"visible": true
},
{
"name": "expandParents",
"displayName": "ExpandParents",
"description": "Defines whether the parent elements of the selected element will be expanded too.",
"type": "tchmi:general#/definitions/Boolean",
"bindable": true,
"visible": true
}
],
"type": null,
"heritable": true
},
{
"name": "collapseElement",
"displayName": "collapseElement",
"visible": true,
"description": "Collapse an element by its hierarchical index.",
"category": "Data",
"params": [
{
"name": "index",
"displayName": "Index",
"description": "The hierarchical index of the element to collapse",
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTreeView.Index",
"bindable": true,
"visible": true
}
],
"type": null,
"heritable": true
},
{
"name": "scrollTo",
"displayName": "scrollTo",
"visible": true,
"description": "Scoll to an element by its hierarchical index.",
"category": "Data",
"params": [
{
"name": "index",
"displayName": "Index",
"description": "The hierarchical index of the element to scroll to.",
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTreeView.Index",
"bindable": true,
"visible": true
},
{
"name": "expandParents",
"displayName": "ExpandParents",
"description": "Defines whether the parent elements of the selected element will be expanded.",
"type": "tchmi:general#/definitions/Boolean",
"bindable": true,
"visible": true
}
],
"type": null,
"heritable": true
},
{
"name": "writePreparedValues",
"displayName": "writePreparedValues",
"visible": true,
"description": "Write all changes made by the user to the data. Has no effect if 'IndirectInput' is false.",
"category": "Common",
"heritable": true,
"type": null,
"params": []
},
{
"name": "resetPreparedValues",
"displayName": "resetPreparedValues",
"visible": true,
"description": "Reset all changes made by the user. Has no effect if 'IndirectInput' is false.",
"category": "Common",
"heritable": true,
"type": null,
"params": []
}
],
"events": [
{
"name": ".onDataChanged",
"displayName": ".onDataChanged",
"visible": true,
"displayPriority": 5,
"category": "Control",
"description": "The .onDataChanged event is fired when the user changes the data.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TchmiTreeViewDataChangeEventObject",
"description": "The event object containing information about the data change."
}
]
},
{
"name": ".onSelectedItemChanged",
"displayName": ".onSelectedItemChanged",
"visible": true,
"displayPriority": 5,
"category": "Operator",
"description": "The .onSelectedItemChanged event is fired when the selected item changes.",
"heritable": true,
"arguments": []
},
{
"name": ".onElementExpanded",
"displayName": ".onElementExpanded",
"visible": true,
"displayPriority": 5,
"category": "Operator",
"description": "The .onElementExpanded event is fired when an element expands.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TchmiTreeViewIndexEventObject",
"description": "The event object containing information about the index."
}
]
},
{
"name": ".onElementCollapsed",
"displayName": ".onElementCollapsed",
"visible": true,
"displayPriority": 5,
"category": "Operator",
"description": "The .onElementCollapsed event is fired when an element collapses.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TchmiTreeViewIndexEventObject",
"description": "The event object containing information about the index."
}
]
},
{
"name": ".onTableUpdated",
"displayName": ".onTableUpdated",
"visible": true,
"displayPriority": 5,
"category": "Control",
"description": "The .onTableUpdated event is fired when the displayed entries of the treeview are updated.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TchmiTreeViewUpdateTableTypeEventObject",
"description": "The event object containing information about the table update type."
}
]
}
],
"dataTypes": [
{
"schema": "Schema/Types.Schema.json"
}
],
"languages": {
"en": "Lang/Language.en.json",
"de": "Lang/Language.de.json"
}
}