Grid (Layout)

Arclab® Web Form Builder

What is a Grid?

A grid (container) is used to arrange the various form elements and allows a freely definable layout.

In version 5.3.1, the term "container" was replaced by "grid".

 

A form page can contain an unlimited number of grids.
It is not necessary to put all form elements into a single grid.

 

Basic Sample: Grid with 2 Cells

 

Container with 2 Cells

 

The grid hosts 2 cells, Cell1 [25%] and Cell2 [75%].
Each cell can contain a form element:

 

Container with Label and Editbox

 

The grid hosts 2 cells, Cell1 [25%] contains a label and Cell2 [75%] contains an editbox (input field).

 

See also: Input Elements with Label

Columns and Rows

A grid can host multiple columns and rows.

  • Cells (columns) are arranged side by side until the total column width reaches 100% of the grid width.
  • A cell with a width of 100% fills a whole row.

 

Sample: Grid with 3 Cells

 

Columns and Rows

 

The first two cells have a total width of 50% (25%+25%). The third cell has a width of 75%.
Since the total width of the three cells would exceed 100%, the third cell is pushed to the next row.

 

See also: Input Elements with Label

Edit Grid

Right-click to open the context-menu and select "Edit Grid":

 

Edit Grid

 

In the following dialog you can edit cells, move cells and add more cells:

 

Edit Container Dialog

 

  • Click on the Cell and enter the new width of the selected cell.
  • Use "Insert Manual Line Break" if the cell should be pushed to the next row even if the total width has not reached 100%.

Edit Cell

You can edit a cell directly within a grid. Click on the cell width in the hover-menu:

 

Edit Cell

 

You can directly change the cell width or reduce the padding (top/bottom) here:

 

Edit Cell

 

... or right-click to open the context-menu:

 

Edit Cell

 

  • With the function "Edit Cell" you can easily change the width of the cell.
  • Use "Split Cell" to divide an existing cell into several cells.
  • The "Insert Lines" function inserts rows, 100% wide, under the current cell.
  • Use the "Up" and "Down" arrows to move the position of the cell inside the grid.

Copy/Cut and Paste a Grid or Element

Right-click on the element or grid to open the context-menu:

 

Copy or Cut

 

  • Use "Copy Grid" to make a copy of the grid.
  • Use "Cut Grid" to move the grid to a different position or form page.
  • You can also copy or cut "Elements".

 

Use "Add Element" or click on the "Add" icon to paste the element or grid.
In the "Category View" click on the button "Paste from Clipboard" at the bottom:

 

Paste

Rename a Grid

Right-click to open the context-menu and select "Edit Grid":

 

Edit Grid

 

 

In the following dialog you can edit the name of the grid:
(this name is only for better identification of the grid and has no effect on the form)

 

Rename Grid

Simply remove the name (leave empty) to remove/reset the grid name.

Import and Export

If you want to reuse a grid in another form, you can export the grid to a file and import it into another form. Please note that you can only export grids, not entire pages. If you want to reuse entire pages, we recommend that you create a form (project) as a template instead.

 

 

Export a Grid:

Right-click on the grid in the tree view (on the left) and select "Export Grid" to save the selected grid. This allows you to use the grid in another form.


Export Grid

 

 

Import a Grid

Add a new form element and select "Import Grid from Export File" in "Custom Grid" to import a grid:

 

Import Grid from File