fr:grid
component organizes contained controls in a grid of rows and columns. Features:relevant
and readonly
MIPs [SINCE Orbeon Forms 4.8]freeze
setting. When the entire grid is made readonly, the menu is not present.<xh:tr>
and <xh:td>
, it uses <fr:c>
. <xh:tr>
and <xh:td>
are still supported for backward compatibility.<fr:c>
:x
:y
:w
:h
:<xh:tr>
and <xh:td>
are used to indicate rows and cells, following the HTML tables <tr>
and <td>
scheme.<xh:td>
:rowspan
colspan
id
: optional grid id. Form Builder always places an id.repeat
: can be optionally set to false
bind
and ref
should be supported.id
: optional grid id.repeat
true
: legacy repeat modecontent
: new repeat mode with an enclosing element [SINCE Orbeon Forms 4.8]bind
or ref
repeat="content"
: single item binding which binds to the enclosing elementrepeat="true"
: item sequence binding which binds to the repeated elementstemplate
min
and max
repeat="content"
: context of the binding (bind
or ref
)repeat="true"
(deprecated): context of the fr:grid
elementmax
can also take the explicit value none
remove-constraint
false()
, the current row cannot be removedfreeze
repeat="content"
: context of the binding (bind
or ref
)repeat="true"
: context of the fr:grid element
readonly
true
apply-defaults
[SINCE Orbeon Forms 2016.1]true
: dynamic initial values (via the xxf:default
MIP) apply to new iterationsappearance
[SINCE Orbeon Forms 2016.1]full
minimal
insert
[SINCE Orbeon Forms 2016.2]index
full
appearancebottom
minimal
appearancerepeat="content"
:-iteration
, enclose each repetition.repeat="true"
:repeat="content"
:fr:grid
contains the rows to repeat as xh:tr
. Each xh:tr
contains xh:td
cells as needed.fr:grid
element:fr-iteration-added
fr-iteration-removed
index
context information:event('index') as xs:integer
: the index of the row added or removed