FluidGrid allows to set up a nice tight grid with items that have variable heights and widths.
FluidGrid is a responsive grid. That means, the grid will reflow as the window size changes.
Items can have any content: text, images, links, input fields, etc.
They can be defined in a static or in a dynamic way as in data iteration components.
This example demonstrates how to design a responsive dynamic grid with input fields.
This is similar to the DynaForm component in PrimeFaces Extensions, but the grid is not
a fixed table in this case. It is responsive! Try to resize the browser window.
Tip: You will achieve a consistent alignment across all field blocks
if you place the labels above the input fields.
The attribute
type of
pe:fluidGridItem
should match the corresponding
type property of
FluidGridItem.