Column Layout

Column

Function: a!columnLayout()

Displays a column that can be used within the columns layout.

See also: Columns

Parameters

Name Keyword Type Description
Contents contents Any Type Array Values that define the interface components for a column.
Width width Text Determines the width of the column. Valid values: "AUTO" (default), "NARROW", "MEDIUM", "WIDE".
Visibility showWhen Boolean Determines whether the layout is displayed on the interface. When set to false, the layout is hidden and is not evaluated. Default: true.

Notes

  • Form, dashboard, and column layouts are not supported in the Contents parameter, however columns layout is supported.

Examples

Copy and paste an example into the INTERFACE DEFINITION in EXPRESSION MODE to see it displayed.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=a!columnLayout(
  width: "AUTO",
  contents: {
    a!textField(
      label: "Customer",
      value: "John Smith",
      readOnly: true
    ),
    a!textField(
      label: "Status",
      value: "Prospective",
      readOnly: true
    ),
    a!textField(
      label: "Priority",
      value: "High",
      readOnly: true
    )
  }
)
FEEDBACK