Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

Columns (Document Template)

Last modified: March 22, 2024

Appearance Properties

Caption

The caption of a column is the text that appears as a header above the rows. This is a translatable text. See Internationalization.

Enumeration Format (Only for Attributes of the Enumeration Type)

A column can show its contexts as text (default) or as image.

Value Description
Text Show the contents of the connected attribute as a text.
Image Show the image of the enumeration value.

Decimal Precision (Only for Decimal Attributes)

The precision of a value is defined by the number of digits that is used to express that value. This property indicates the number of decimal places (the number of digits following the decimal point).

Default value: 2

Group Digits (Only for Numeric Attributes)

For ease of reading, numbers with many digits before the decimal separator may be divided into groups using a delimiter. This property defines whether the end user will see these groups, or not.

Default value: False

Date Format (Only for Attributes of the DateTime Type)

The date format determines whether the date part, the time part or both are shown. How the date and time parts are formatted depends on the localization of the user using the application. Alternatively, as of version 2.5.3 you can completely customize the format of the date and/or time by supplying a date format string.

Possible values: ‘Date’, ‘Time’, ‘Date and time’ and in 2.5.3 ‘Custom’.

Default value: Date

Custom Date Format (Only for Attributes of the DateTime Type)

If you choose ‘Custom’ as the date format (see above) the custom date format determines the way date and/or time are formatted. The custom date format is a string that follows the rules described in Class SimpleDateFormat.

Data Source Properties

Attribute (Path)

The attribute (path) property specifies the attribute whose value will be displayed in the column. It can be an attribute of the grid entity, or it can be an attribute of an associated entity. The path over which an associated object is accessed is referred to as an attribute path. The path can follow multiple associations of type reference, and at the end (optionally) one of type reference set. If you show a reference set in a column the values will be separated by a comma.