Loading...

Caption

The caption of the column displayed in the data grid. If no Caption or Caption expression is specified, the column Name is used as the caption.


Caption Expression

A C#.NET expression returning a string used as the caption of the column in the data grid. Localization is supported by using the Localize-directive referring a text code registed in pbSimLangText.

In addition to the standard caption expression library, Time Frame columns can use an extended library of functions to resolve the caption expression based on the Time Frame information relative to the column.

Example

We want to translate the Destination column name. In this example, we can see the English name of that column.


caption expression


We need to use Localize-directive:


Localize("string textCode")


Localize("Destination")

caption expression


As we can see, the column caption automatically changed to Norwegian:

caption expression


See how to do that step by step in our Localization video in the link below.

Videos about