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.

Static Label (Document Template)

Last modified: April 18, 2024

A static label shows a line of static text. You can use it to place custom text inside a data view, template grid or table.

If you want to insert the current page number or the total page count in your document, you can use a token inside a static label (and only in a static label). Before version 2.5.4, spaces were automatically inserted on either side of the token. This is no longer the case.

Common Properties

Name

The internal name of the widget. You can use this to give sensible names to widgets. The name property also appears in the generated HTML: the widget DOM element automatically includes the class mx-name-{NAME}, which can be useful for Selenium testing.

Appearance Properties

Caption

This is the value that will be displayed in the document.

Style

See Style