grid.column ViewHelper <flux:grid.column>
Flexform Grid Column ViewHelper
Used inside <flux:
tags.
Use the col
attribute for grids in page and content elements.
See <flux:
for an example.
Limit allowed elements
It is possible to limit the elements allowed in the column by setting
the allowed
variable:
- <flux:grid.column name="elements" colPos="0">
- <flux:form.variable name="allowedContentTypes" value="text,shortcut"/>
</flux:grid.column>
The value is a comma-separated list of content type IDs; they can be found
in tt_
column.
Limit allowed fluid content elements
It is also possible to limit the allowed fluid content elements:
- <flux:grid.column name="elements" colPos="0">
- <flux:form.variable name="allowedContentTypes" value="extkey_vehicledetailssectionusedcarseal"/>
</flux:grid.column>
Arguments
name
- DataType
- string
- Default
- 'column'
- Required
- false
- Description
- Identifies your column and is used to fetch translations from XLF for example.
label
- DataType
- string
- Required
- false
- Description
- Optional column label, will be shown as column header.
colPos
- DataType
- integer
- Required
- true
- Description
- Column number - between 0 and 99, should be unique.
colspan
- DataType
- integer
- Default
- 1
- Required
- false
- Description
- Column span
rowspan
- DataType
- integer
- Default
- 1
- Required
- false
- Description
- Row span
style
- DataType
- string
- Required
- false
- Description
- Inline style to add when rendering the column
variables
- DataType
- mixed
- Default
- array ()
- Required
- false
- Description
- Freestyle variables which become assigned to the resulting Component - can then be read from that Component outside this Fluid template and in other templates using the Form object from this template. Can also be set and/or overridden in tag content using
<flux:
form. variable />
extensionName
- DataType
- string
- Required
- false
- Description
- If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.