This functionality is only available for certain module packages.

You are here: Reference > Form-UI > Tables > column

column

The element <column> is exclusively used for the configuration of columns within <pureTable>.

The attribute heading specifies the name of the column and is displayed in the header of the table. If the text of a heading is too long, line breaks can be inserted at any position with \n.

Attribute name Usage Attribute values Default value Description
heading required Defines the name of the column in a table heading.
hSize optional Width of the element
EEC = width in characters
Web application = width in pixels
hSizeMax optional maximum width of the element
EEC = width in characters
Web application = width in pixels
hSizeMaxPx optional maximum width of the element in pixels
hSizeMin optional minimum width of the element
EEC = minimum width in characters
Web application = minimum width in pixels
hSizeMinPx optional minimum width of the element
EEC = minimum width in pixels
Web application = minimum width in pixels
hSizePx optional Width of the element
EEC = width in pixels
Web application = width in pixels
readonly optional true, false true = Column is read-only.
false = Input can be written to the column.
selectionReceiver optional Formula to the object, which stores the selected values of the table.
selectionValue optional Writes the result of the formula instead of the selected cell content to the selectionReceiver
tooltip optional Text or Form-UI of the overlaying tooltip (see tooltip)
visible optional true, false true true = table column is visible
true = table column is invisible
Allowed sub-elements Quantity
action any
img any
input any
label any
switch any

Note:

For the element <input> only the types check and text are allowed, yet.

If the determined object for selectionReceiver is a collection, any number of values may be stored by multiple choice.

Table with multiple choice:

To show this feature, the following example code is inserted into the RTS24 Form-UI configuration. In addition the parameter pureTableSelection with the type List and Selection with the type String are created.

Beside the table is a drop-down list, where the content is affected by the selected items of the table.

Table with actions:

For each station listed in a pureTable an action should be executed by a button.

Table passes the value of a formula instead of the selected cell content to the selectionReceiver:

Within a pureTable not the selected cell content should be passed to the selectionReceiver, but the resulting value of a formula.

Table contains images in the first column:

In a pureTable table, an image is to be displayed in the first column.

Table with controlled visibility for individual columns:

The following example shows a table that originally had 4 columns. The visibility of the columns is controlled with a variable for which the value can be selected in a dropdown list field. The figure shows the table with a hidden column 4.