Custom columns in data grids
The definition of 'Custom columns' for data grids in overviews is possible from the Datagrid preferences overview by selecting the topmost entry Custom column under Add column.
This creates an additional column at the end of the list, to which a virtual Data field (custom_1, custom_2, ...) without function is automatically assigned. The identifier for the data field is, as usual, read-only.
For 'Custom columns' a drop-down appears above the data field element, in which a data type can be assigned. This selection determines how filter functions for the column look and work. In addition, for certain data types further options appear in the Formatting area.
Data type |
Specific formatting |
Boolean |
None |
Date with time |
Date/time: Format, Time zone |
Date range |
Date/time: Format, Time zone |
Dynamic enumeration |
Dynamic enumeration (Selection) |
Numeric value |
Number of decimal places |
Default |
Date/time: Format, Time zone |
Text |
None |
Timestamp |
Date/time: Format, Time zone |
In addition to the common settings for columns, two further options appear for a 'Custom column':
Under Dispatch event on click, you can select a Custom action event that is executed when you click in the column with the data context of the respective row.
The Label expression defines the content displayed in the respective column. Possibilities for the design are shown below with examples.
►NOTE◄ The fact that a column has its Custom action event assigned to it can be recognized at runtime by the mouse cursor changing to the 'clickable' symbol in the column. In the example, an event is stored for the custom column 'User Info', which shows as content a combination of the properties 'User name' and 'Name1'.
In addition, another button appears with which client workflows can be configured. These are triggered by clicking on the column.
Renderer category
For custom columns it is possible to define if the cell values should be visualized in a special way. For this purpose, so-called Spaltenrenderer can be configured in the 'Renderer' section. See Spaltenrenderer.