Apps and development tools - Basic App Kit

View reference

<col>

Description:

Columns are defined as <col> subtags inside <view>. 

The body of a <col>-Tag is evaluated as TMLScript expression.

<view ...>

   {document selection}

   <col label="location">(zip||'') + " " + city</col>

   <col label="Title">TITLE</col>

   <col ...>...</col>

</view>

Valid under tags: <view>
Subtags:
Attributes:

Supported column attributes are:

  • label="..."
    The column label
    Default: empty.

  • flex="..."
    A value specifying the relative with of the column.
    Default: 1.

  • format="..."
    optional Output format.
    Default: empty.

  • align="left | center | right"
    Column alignment,
    Default: left.

  • type="text | image | imageurl | icon"
    Default: text.

  • eval-as="expression | script"
    Default: expression.

  • encode="<custom-encoder>"
    Default: "html"