ViewHelper Documentation
flux:grid.column
Flexform Grid Column ViewHelper
Used inside <flux:grid.row>
tags.
Use the name
attribute for grids in content elements,
and the colPos
attribute for grids in pages templates.
See <flux:grid>
for an example.
Limit allowed elements
It is possible to limit the elements allowed in the column by setting
the allowedContentTypes
variable:
<flux:grid.column name="elements">
<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_content.CType
column.
Limit allowed fluid content elements
It is also possible to limit the allowed fluid content elements:
<flux:grid.column name="elements">
<flux:form.variable name="allowedContentTypes" value="fluidcontent_content"/>
<flux:form.variable name="Fluidcontent"
value="{allowedContentTypes: 'Vendor.Extension:ContentElement.html'}"/>
</flux:grid.column>
Arguments
name string
Identifies your column in generated configuration; also used as target ID when column is inside a container content element. Page-level content columns use "colPos" instead.
label string
Optional column label, will be shown as column header.
colPos integer
Column number - between 0 and 99, should be unique.
colspan integer
Column span
rowspan integer
Row span
style string
Inline style to add when rendering the column
variables anySimpleType
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 string
If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.