Static Label (Document Template)

Last update: Edit

1 Introduction

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.

For example, a label with text ‘Customer name’ will be look like this:

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).

For example, static label content Page [%pageNumber%] of [%totalPageCount%] will print Page 2 of 4.

2 Common Properties


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.

3 Appearance Properties

3.1 Caption

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

3.2 Style

For details, see Style.