Editable Grid Column Configuration Component

Column Configuration

Function: a!gridLayoutColumnConfig()

Defines a column configuration for use in an Editable Grid.

Parameters

Name Keyword Types Description

Width

width

Text

Determines the column width. Valid values: "DISTRIBUTE" (default), "NARROW", "ICON".

Weight

weight

Number (Integer)

Determines how wide distributed columns are in relation to each other. Valid values: integers from 1 (default) to 10.

Visibility

showWhen

Boolean

Determines whether the column configuration is displayed in the grid. When set to false, the column configuration is hidden and is not evaluated. Default: true.

Notes

  • The number of column configurations need not match the number of columns in the grid. They are matched with the columns by their position in the Column Configurations array.

Examples

This example needs to be used with the a!gridLayout() function for it to display anything. Examples that you can see in action are available in the Grid Layout component section.

1
2
3
=a!gridLayoutColumnConfig(
  width: "ICON"
)

The following patterns include usage of the Editable Grid Column Configuration Component.

Open in Github Built: Wed, Aug 17, 2022 (01:05:05 PM)

On This Page

FEEDBACK