Grid settings
Last updated
Last updated
See Section and grid settings.
[SINCE Orbeon Forms 2020.1]
Orbeon Forms introduced a 12-column layout with Orbeon Forms 2017.2.
It is now possible to control whether an individual grid has 24 columns instead of 12. This is useful in particular when using a fluid form layout, which can be wider and accommodate more form controls on a given line.
The default remains 12 columns. To change to 24 columns, choose the "24" option. The grid then allows moving cell boundaries on a 24-column resolution.
When going from 12 to 24 columns, the grid cells positions and widths are adjusted so that the grid looks the same. Similarly, when going from 24 to 12 columns, the grid cells positions and widths are adjusted so that the grid looks the same. However, if the grid contains controls whose position or width does not allow migrating the grid back to 12 columns, the "12" option is disabled.
[SINCE Orbeon Forms 2021.1]
The dialog shows the current number of grid rows. This is the "static" number of grid rows, independently of the number of grid repetitions in the case of repeated grids.
See also Enhancements to grids.
Cells inside a grid can be ordered in two ways:
By row first, then by column
By column first, then by row
Ordering the cells by row is the default behaviour.
Ordering the cells by column impacts the tab order (i.e. the order in which cells are navigated using the tab key) and the order in which the cells are placed on devices with a narrow display (e.g. phones) when all cells are stacked up (responsive layout).
A default value can be set for all grids in the Form Settings dialog.
See also the blog post.
Blog post: Enhancements to grids
Blog post: Grid Tab Order