Skip to content
Smart Templates Manual Website Manual for your AI

Cells, header row and page break

In short

This page applies to the cells of a data table and a free-form table. You design a cell in a window of its own that opens with a double-click: in the column designer for the content of a whole column, in the header designer for the heading of a column, in the cell designer for a single cell. In addition there are selecting, filling and emptying cells, merging cells, splitting columns and the table in a group or cell. The latter part describes what happens in the PDF when a table runs beyond the end of the page: the header on the following pages, keeping a row together or splitting it, and cutting off at a fixed height. Where the two kinds of table differ, it is noted in each case.

The windows for designing

You design the content of a cell not on the page, but in a window of its own that opens with a double-click. It is the same window as the group designer; path, “Zoom”, “✕ Close”, Esc, ribbon and “Data” are described in Groups: The window at a glance. Depending on the cell, it has a different name:

  • The column designer designs the data cell of a column of the data table; what you set there applies to this column in every row.
  • The header designer designs the heading of a column, for the data table as for the free-form table.
  • The cell designer designs exactly one cell: that of an extra row of the data table and every cell of a row of the free-form table.

Which double-click opens which window is shown by the overview under Working on the canvas: The double-click. The first double-click on a simple data cell or header cell converts it permanently; going back is possible only with Ctrl+Z (see What the double-click changes permanently and Designing the header row).

Selecting, filling and emptying cells

This is how you proceed with the cells of a data table. You select and operate the cells of a free-form table as described under Free-form tables: Working on the canvas; what you can drag into a cell is described for both kinds of table under Dragging fields into cells.

  • Selecting: A click on a header or data cell selects this part of the column; the “Column” tab appears on the right. The cell gets a frame in a contrasting color, blue, amber on a blue background.
  • Several cells: With Ctrl, Cmd or Shift click you add further cells; another Ctrl click removes one again. Several selected cells have a dashed frame. In the data row and in extra rows, dragging without a modifier key also selects an area. In the header row, dragging moves the column; there you select with Ctrl+click or Ctrl+drag.
  • A rectangle: A Ctrl click into another row of the same record, or a diagonal drag downward, selects a rectangle, for example 2 × 2 cells: “… selected — »Merge cells« is now shown at the top of the table.”
  • Tooltips: A simple cell has none. A designed data cell shows “Double-click: open column designer · Drag or Ctrl+click: select several cells (then »Merge cells«)”, a designed header cell “Double-click: open header designer”.
  • In the structure: In the area “Structure”, the table, every column and every filled cell are shown as rows of their own; the names of the entries are given in Working on the canvas: The structure. A click on a column row selects the column.
  • Background and border: For the data cells of a column on the “Column” tab (“Cell background”, “Turn on border”), as soon as the column has a column designer; for a header cell in the header designer; for a cell of an extra row or of a free-form table in its cell designer (what the checkbox “Turn on border” sets there is shown in Border, background and colors: What the fields do). You transfer them to all columns or header cells with Applying to all columns or header cells.

Emptying: If you press Del or Backspace with a selected cell, several cells or a block, only the content is removed; columns and rows stay: “1 item(s) removed from the cell — column and row stay. Ctrl+Z brings it back.” A designed cell stays designed, just empty. If it was already empty, it says “This cell was already empty.” If the whole table is selected, by contrast, Del deletes the table, without asking.

Dragging fields into cells

Fields from the area “Data” can be dragged directly onto a cell. What then happens depends on the cell:

Dropping a field onWhat happens
a simple data cell The field is appended to the content of the cell, with a space in between; the column stays simple. An image field instead becomes an image: The column gets a column designer for this, and the designer asks about the quality (see Images: Quality).
a simple header cell A field cannot go into the heading this way. Do not drop it there; for a field in the heading, open the header designer. For the free-form table, as things stand today the field appears there neither on the canvas nor in the PDF; if it has happened anyway, undo the step right away with Ctrl+Z.
a designed data cell on the page A new text with the field is placed below the existing content, in 9 pt dark gray and as wide as the column minus the padding on the left and right; an image field becomes an image below it. If something does not belong here, the designer reports: “Please place this element in the column designer (double-click the cell).”
a designed header cell on the page A new text below the existing content, with a field of the main record. For the free-form table, it is 1 mm below the lowest object, in 9 pt and as wide as the column minus the padding on both sides; an image field becomes an image. In the PDF, the value from the main record appears.
a cell of an extra row The field goes into the cell as text, an image field as an image, and is filled in for every record.
a cell of a row of the free-form table The field becomes a text in the cell, an image or file field an image. The details are below the table.

For the free-form table, the cell lights up blue while you drag a field over it and is selected afterwards. The following applies:

  • Text field: A text with the field is created in the cell, in 9 pt and dark gray, as wide as the column minus 3 mm, set to “Fixed position”. It goes to the top left of the cell, even if something is already there; the two can then overlap. A second field is therefore better placed in the cell designer at the desired spot or in the window “Edit text” into the existing text (see The “Edit text” window: Inserting fields).
  • Image or file field: An image is created, at most 20 mm wide (narrower if the column minus 3 mm is narrower) and three quarters as tall, 1 mm below the lowest object of the cell. For an image field, the designer first asks about the quality (see Images: Quality); a file field comes without a question.
  • Which record: The cells of a free-form table on the page belong to the main record. The designer therefore inserts a field from a list as the value of the first row and says so in a message. If it cannot tell which list the field belongs to, it rejects it with a message. Both messages are described under Data tree and field picker: A field “per row” outside a table cell. If the free-form table itself is inside a row of a data table, it belongs to that row, and the field stays as it is.
  • Calculated fields of a rule on a list, for example a total, currently cannot be dragged into a cell either; the designer rejects them with the message from above. Via the window “Edit text”, too, no reliable value results at present (see Rules: Using the result). How you put a total below a line-item table is described under Rules: Example: the total below the line-item table.
  • Relationship, rule or button from the ribbon: The cell does not accept them; the object or the table is created on the page, as if you had dragged it next to the table. You create a table in a cell in the cell designer, with “Data table” or “Free-form table” or by dragging the relationship onto the work area there.

On the canvas, a field appears as a blue marker with its name. Full preview and PDF show the value from the record.

Designing with the double-click: the column designer

A single click selects a cell. A double-click opens a large editing window, as with a group; which one is shown by the overview under Working on the canvas: The double-click. For a data cell of the data table, it is the column designer: What you design there applies to this column in every row.

  1. Double-click a data cell of the column, or select the column and click “↳ Open column designer” on the right. The column designer opens. At the top left it says, for example, “📄 Document › Column 2”. In the middle the cell lies as the work area; a dashed line shows the cell border, and the padding is visible. The previous content is in it as text.
  2. Drag fields from the area “Data”, branch “Per row · …”, into the cell, or insert text, an image, a code, shapes, a group or a table via the ribbon. Fields appear as blue markers in the cell. In print, the value of their record appears in every row.
  3. You change font, size, color and alignment of a text with a double-click on the text in the window “Edit text” (see The “Edit text” window).
  4. Click “✕ Close” or press Esc. You are back on the page; the sample row shows the new content.

A code in the cell, for example the EAN of each item, comes from the ribbon of the window, section “Codes”; its content belongs to the row, and an empty code with “print nothing” takes up no height (see Barcode, QR code and GiroCode: Codes in tables).

The branch “Per row · …” appears in the area “Data” only as long as you are inside a table cell. It contains the fields of a row and the lists below it (see Data tree and field picker: The data tree in the cell designer and column designer).

The window of the column designer. At the top left the path “Document › Column 4”, at the right a zoom slider (300 %) and the blue button “✕ Close”. Below it a ribbon with Text, Image, Group, Shapes, Barcode, QR code, GiroCode, Data table and Free-form table. On the left the area “DATA” with a search box, “Custom variables”, “System variables” and the expanded branch “Per row · Rechnungspositionen” with a light violet background, with the fields Pos.-Nr., Menge, Einheit, Einzelpreis and Gesamt (each with a field type marker and the addition “per row”) as well as the collapsed relationships “Produkt” (N:1) and “Chargen” (1:N) and the rule “Chargenliste”; below it “All fields”. In the middle, on a gray work area, the cell as a dashed box with handles; inside it, right-aligned, is the blue field marker “Einzelpreis”. On the right the area “PROPERTIES” with the marker “COLUMN” and “4 of 5 · Einzelpreis”, the tabs “Column” and “Table properties”, the buttons “◀ Left” and “Right ▶” and the fields Width (mm) 35, Row height, Vertical alignment and Cell background.
The column designer: It opens after a double-click on a data cell.
  1. 1The path shows where you are: in column 4 of the document.
  2. 2The cell as a work area. What you design here applies to this column in every row.
  3. 3The branch “Per row” with the fields of a row; you drag them into the cell.
  4. 4On the right are the settings of the column and, on the second tab, those of the whole table.
  5. 5“✕ Close” closes the window; the Esc key does the same.

What the double-click changes permanently

Even the double-click on a data cell or the button “↳ Open column designer” permanently turns the column into a designed column, even if you change nothing in the window. Going back is possible only with Ctrl+Z.

  • The previous content of the cell becomes a text in the cell, as wide as the column minus the padding on the left and right, in the font size and color of the table rows and with the alignment of the column. You then edit it in the window “Edit text”, no longer as a simple value.
  • “Keep row together at page break” is grayed out: Print keeps the rows of this table together anyway (see Keeping a row together or splitting it).
  • On the “Column” tab, “Cell background” and the border fields appear.
  • In the area “Structure”, the column carries the marker “Group”.
  • Rounded corners stay rounded, even if keeping together was off before (see Data tables: “General” tab: Border, corners, guides, visibility).

Tip

If long table rows are to be allowed to split at the end of the page, leave the columns simple: Drag the fields directly onto the data cells on the page instead of opening the columns with a double-click. Then “Keep row together at page break” remains usable. An image field, however, turns the column into a designed column in any case.

In the column designer: properties, handles, notes

The column designer is the same window as the group designer (see The windows for designing). In it, the following applies:

  • Properties: A click on an empty area shows the tabs “Column” and “Table properties” on the right as outside, only without the two buttons for opening the designers; below it says “Click on an empty area to show the settings of this column.” “Column to the right” inserts a column, and you stay in the window: “New column added on the right — you stay in the column designer of this column.” “🗑 Delete column” deletes the column and leads out of the window. It is best to delete the whole table on the page after you have closed the window.
  • Handles: As long as no object in the cell is selected, the work area has handles on the left, right, bottom and at the corners: “Drag: ↔ column width · ↓ row height (all data rows)”. Sideways changes the column width, with the same limits as the field “Width (mm)”; for a merged cell, the last column it spans changes. Downward, the following applies: With automatic row height, you only drag out a working height for designing, which disappears again when you close; with a fixed row height, you set the height of all rows.
  • Note when closing: If the cell showed more space in the designer than is printed, a window explains it. With automatic row height it says “Row height follows the content”: The free space below the content is gone in print. With a fixed row height it says “⚠ There is more space here than in the document”: Whatever lies below the edge is missing in the document. “Got it” closes. “⚙ Show setting” closes the designer windows, selects the table, opens the “General” tab and makes the matching field light up briefly. The same note does not appear again right away for the same table.

Applying to all columns or header cells

Below the border fields of a data cell is “⇊ Apply to all columns”, in the header designer “⇊ Apply to all header cells”. The button transfers background, border color, border thickness and border lines of this cell to all other columns or header cells of the table. The content of each column stays. The message names the number, for example “Border & background copied to 4 more columns.”

  • If the cell has a cell background, all other columns become designed columns in the process, with the consequences from What the double-click changes permanently.
  • If it has no background, the others lose theirs. If it has no border, the others lose their borders.
  • In the header, the following applies: If the header cell has no header background of its own, the others lose theirs, and the header background of the table applies again. Font colors and font sizes are not transferred; you change those in each header cell yourself.
  • The button does not exist in extra rows; there you set border and background per cell. In free-form tables there is only “⇊ Apply to all header cells”; it is the only button that transfers border and background to other cells there. You set the cells of the rows individually.

Designing the header row: the header designer

Whether the table has a header row at all, how tall it is and whether it repeats on following pages, you set in the properties of the table, in the section “Header row” (see Data tables: “General” tab: Section “Header row”; the same applies to the free-form table, see Free-form tables: “General” tab). Here it is about the heading of an individual column.

In the header designer, you design the heading of a column: text, font, alignment, background and border, if you wish also images or fields of the main record.

  1. Double-click the header cell of the column, or select the column and click “↳ Open header designer” on the right. The header designer opens. At the top left it says where you are, for example “📄 Document › Header · Column 2”. In the middle the header cell lies in its size and header color; a dashed line shows the cell border. The previous title is in it as text.
  2. Double-click the text to change it and to set font, size, color and alignment. You insert further objects via the ribbon of the window.
  3. Click “✕ Close” at the top right or press Esc. You are back on the page. If you now point at the header cell, it says “Double-click: open header designer”.

The window is built like the group designer, with its own ribbon, the data on the left and the properties on the right (see Editing the content of a group). When opened, the zoom is fitted to the cell. Fields that you drag into the header come from the main record, because the header belongs to no row.

What happens permanently: Even the double-click or the button turns the simple title into a text in a designed header cell, in font and color of the previous header and with the alignment of the column; for the free-form table, by default that is white, bold, 9 pt. Going back is possible only with Ctrl+Z. After that, the alignment of the column and the “Line spacing” of the table no longer apply to this header cell, but those of the text, and the header cell shows the note “Double-click: open header designer”. In the area “Structure”, the column carries the marker “Header”.

A click on an empty area shows “Header cell · Header designer” on the right with these settings:

SettingWhat it doesDefault
“Width (mm)” The width of the column, as on the “Column” tab. –
“Fit header row height to the content automatically” with “Minimum header row height (mm)” or “Fixed header row height (mm)” The same fields as under Data tables: Section “Header row”; they apply to the whole header row, not just this column. on, 8 mm
“Header background” Shows the color that currently applies, but changes only this header cell. It lies above the header background of the table. If you empty the field or choose “No color”, the header background of the table applies again to this header cell; a single header cell without a background does not exist. If it is to be white, enter #FFFFFF. like the table
“Turn on border” with “Border color”, “Border thickness (pt)” and “Border lines (sides)” The border of this header cell. It works like the border of the data cell on the “Column” tab, with the same values when checked (see Data tables: The settings of a column and Border, background and colors: What the fields do). top and bottom, light gray, 0.5 pt
“⇊ Apply to all header cells” Transfers header background and border of this header cell to all others (see Applying to all columns or header cells). –
  • Handles: As long as no object in the cell is selected, the work area has handles on the left, right, bottom and at the corners: “Drag: ↔ column width · ↓ header row height (whole header row)”. Sideways changes the column width, downward the header row height; that is really stored in the process. If you drag only sideways, you keep the height.
  • Note when closing: If the header row height is fixed and the header designer showed more space than is printed, “⚠ There is more space here than in the document” appears: Whatever lies below the edge is missing in the document. “Got it” closes; “⚙ Show setting” leads to the header row height.
  • Field from outside: What happens when you drag a field on the page onto a header cell is described in the table under Dragging fields into cells.

Tip

First finish designing one header cell, background and border included, and then transfer it with “⇊ Apply to all header cells” (see Applying to all columns or header cells).

The header designer for the free-form table

You design the heading of a column in the header designer exactly as for the data table: double-click the header cell or “↳ Open header designer” on the “Column” tab. Window, settings, handles and the note when closing are described in the section Designing the header row. For the free-form table, the following applies:

  • Header text: There is no input field for the header text. You change the text with a double-click on it in the window “Edit text”.
  • Applying to all: “⇊ Apply to all header cells” exists here (see Applying to all columns or header cells).
  • Merging: Header cells cannot be merged in the free-form table (see Merging cells and splitting columns).
  • Fields in the header: How a field is dragged onto a header cell is described under Dragging fields into cells.
  • Deleting the header text: The Del key with a selected header cell deletes the header text or empties the header designer; Ctrl+Z brings it back.

Designing cells: the cell designer

Each cell is designed individually; what you put into a cell appears only there. You can drag fields directly onto a cell. Everything else, also background and border of the cell, you set in the cell designer. This applies to every cell of the free-form table and to the cells of an extra row of the data table (see Data tables: Extra rows).

  1. Double-click the cell. You can also click the cell and click “↳ Open cell designer (row …)” on the right. The cell designer opens. At the top left it says where you are, for example “📄 Document › Row 2 · Column 1”. In the middle the cell lies as the work area.
  2. Insert via the ribbon of the window what belongs in the cell, for example “Text” or “Image”, or drag fields from “Data” onto the work area.
  3. You set font, size, color and alignment of a text in the window “Edit text”; a double-click on the text opens it (see The “Edit text” window).
  4. For background and border of the cell, click on an empty area of the work area; the settings of the cell are then on the right (see Background, border and size of a cell).
  5. Click “✕ Close” at the top right or press the Esc key. You are back on the page, and the cell shows its new content.

Good to know

A cell can contain everything that a group contains: texts, fields, images, codes, shapes, groups and a further data or free-form table. If a table is in a cell, it has no page break of its own (see Tables in groups and cells).

The window of the cell designer

The cell designer is the same window as the group designer (see The windows for designing). In a cell of the free-form table, the following applies:

  • Path: The last part names the cell, for example “Row 2 · Column 1”, for a header cell “Header · Column 1”.
  • Work area: the cell itself, as wide as the column, for a merged cell as all merged columns together, and as tall as the printed row or taller if the content needs more on the canvas. A dashed border shows the cell edge; the content begins indented by the “Cell padding (mm)”.
  • New objects from the ribbon are placed below the existing content. A new text is set to “Flowing on contact” (see Positioning behavior: What a new object starts with). A new table is fitted to the cell (see Free-form tables: Where the new table goes).
  • Handle “Drag to resize the group”: Dragged sideways, the width does not hold, because the cell is always as wide as its column; change the width at the column border on the page or under “Width (mm)” on the “Column” tab. Dragged downward, the handle switches off “Automatic height (fit to content)” as for any group (see Size handles and Automatic height and limits); for the cell, the caution under Background, border and size of a cell then applies.
  • Closing: Unlike in the header designer, no note about the row height appears.

The cell designer of an extra row of the data table is the same window; its path ends, for example, with “Extra row 1 · Column 1”. The fields that you place there are filled in for every record, as in the main row (see Data tables: Extra rows).

Background, border and size of a cell

Click on an empty area in the cell designer. On the right is then “Group” with the addition “zoomed in”, spread across the tabs “General” and “Position & size”: Every cell is a small group inside; below it is the sentence “Click on an empty area to show the settings of this group.” This also applies to the cell designer of an extra row. What the fields do is described under Groups: Settings of the group and Border, background and colors: Border and background; in a cell, the following differs:

SettingWhat it doesDefault
“Background” (section “Background & border”) Fills the whole cell up to its edges, the padding too. In the PDF, this color lies above the zebra of the table; the color of the cell wins. In the last row of a table with rounded corners, the outer lower corners are rounded as well. How to type or choose a color is described under Color field and color picker. no color
“Turn on border” Draws a border around this cell; it is added to the gray line of the column. The checkbox sets dark gray (#333333), 1 pt and all four sides (see What the fields do). Where the line lies on the canvas and in the PDF, also between two neighboring cells, is described under Where the line sits. off
“Border color”, “Border thickness (pt)”, “Border lines (sides)”, “Height (mm)”, “Spacing between objects (mm)” As for a group (see Settings of the group). as for a group directly in the document
“Corner radius (mm)” It is there, but a single cell is not rounded by it: Background and border of a cell are always drawn at the cell edges. Only the whole table gets rounded corners, via “Corner radius (mm)” in the settings of the table (see Free-form tables: “General” tab and Data tables: “General” tab: Border, corners, guides, visibility). 0
“Turn visibility rules on/off” with “↳ Edit rule” (section “Visibility”) Prints the content of this cell only if a condition is met; row and column stay. How this works is described under Visibility. Whether background and border of the cell disappear with the content, check in the full preview (see Visibility: Per object). off (always printed)
“X (mm)”, “Y (mm)” (“Position & size” tab, section “Position”) Would shift the entire content of the cell. Whether the canvas and the PDF show such a shift identically has not been checked. Leave both fields empty: The distance to the cell edge is governed by “Cell padding (mm)” of the table; you set the position of individual objects on the objects themselves. empty
“Automatic height (fit to content)” (section “Size & spacing”) On: The cell grows with its content, and the row with it. Off: The cell has a fixed height, and this also determines the height of the row. What happens when switching it off is described under Automatic height and limits. on
“Width (mm) — empty = full width” Does not hold in a cell: The designer keeps resetting the width to the width of the column minus the padding on both sides. Change the column width instead. column width minus padding
Section “Behavior” Instead of the checkbox “Keep together at page break”, there is a note here that speaks of a “text” in a group (see The note instead of the checkbox). What applies to the cell is described under Keeping a row together or splitting it. –

Each cell is set individually. A “⇊ Apply to all columns” as in a data table does not exist here, nor does “↳ Zoom in (edit content)”, a positioning behavior, the arrangement or “🔁 Repeat on every page”.

Caution

If a cell has a fixed height, its bottom edge is a wall: The PDF prints only what fits into this height, the rest is missing (see The fixed bottom edge and where the PDF cuts off). When the document is created, a message says how many millimeters of the cell content were not printed (see Where the PDF really cuts off). The canvas cuts off at the same edge and draws a dashed orange line there; if you point at the cell with the mouse, it names the fixed height and how much the content needs. Only in the cell designer does the content still appear in full. Therefore leave “Automatic height (fit to content)” on and do not drag the work area downward in the cell designer. If a row is to be taller than its content, drag at its bottom edge on the page.

Good to know

If you select an object in the cell designer, the button “⬆ Take out of group” is missing, as in every table cell: Above the cell is the table, and it does not accept free objects. If you need the object elsewhere, copy it there and delete it in the cell (see Copying and deleting). If it is in a group in the cell, the button is there and takes it out of this group into the cell.

Which line is set where

There are no table-wide switches for lines. A free-form table has four kinds of lines:

  • The gray line below each cell (0.5 pt) comes from the column. For a free-form table there is no setting to change or remove it. New and split columns take it over. It counts as a visible line for the rounded border with “Corner radius (mm)”.
  • The border of a header cell is at first a gray line at the top and bottom. You change it in the header designer and transfer it there with “⇊ Apply to all header cells” to all header cells (see The header designer for the free-form table).
  • The border of a single cell is added to the gray line and applies only to this cell. You set it in the cell designer; it cannot be transferred to other cells.
  • The rounded border around the whole table is created with “Corner radius (mm)” as soon as a column has a visible line. It replaces the straight outer edges.

Good to know

On the right under “Border”, every table has the sentence “You set borders per cell or header cell in its designer — … and apply them to the whole table with »Apply to all«.” For a free-form table, applying to all works only for the header cells; you set the cells of the rows individually.

Merging cells and splitting columns

Several cells can be combined into one, for example for a heading over three columns while the data below stays separate, or for a description across the whole width of an extra row. For the free-form table you need merged cells, for example, for a label over two columns or a signature row across the whole width. There, a merge always belongs to a single row: Row 1 can span two columns while row 2 stays separate.

  1. Click the first of the cells you want to merge: for the data table, for example in the header row on the first of three cells, for the free-form table in a row.
  2. Add the neighboring cells with Ctrl+click, or hold Ctrl and drag across them. Dragging without Ctrl selects in a data row, in an extra row and in the rows of a free-form table; in the header row it moves the column. “Merge cells” appears in the bar on the table. For the free-form table, a violet dashed frame shows the selection, and the button is at the top right of the table, with the note “Merge the … selected cells of row … into ONE. …”.
  3. Click “Merge cells”. The cells are one; for the data table, the data cells below merged header cells stay separate. The designer reports, for example: “3 header cells merged. The content of the hidden columns is kept — »Unmerge cells« brings it back.” For the free-form table, the message names the row: “… cells of row … merged. …” There, the left cell shows its content across the whole width, a narrow blue strip is at its left edge, and afterward the merged cell is selected.
Detail of the canvas. At the top left is the heading “RECHNUNG”. The blue header row consists of three parts: on the left “Pos.-Nr.” and “Bezeichnung” as individual cells, on the right a wide cell marked with an orange border across three columns with the centered heading “Beträge”. Below it the sample row with five more separate cells and the blue field markers Pos.-Nr., Bezeichnung, Menge, Einzelpreis, Gesamt. Above the table the bar with the buttons “Column”, in red “Column”, “Unmerge cells” and “Row”; on the left of the table the move handle.
A common heading over three columns; the data cells below stay separate.
  1. 1The three header cells have become one.
  2. 2The data cells below stay separate.
  3. 3“Unmerge cells” restores the original cells with their content.
Detail of the canvas with a free-form table “Beleg” and “Angaben”. In the first three rows there are labels on the left (Rechnungsnummer, Rechnungsdatum, Kunde) and blue field markers on the right. The fourth row is a single wide cell with a strong blue border and the sentence “Alle Preise netto, zahlbar innerhalb von 14 Tagen.” Above the table on the left the move handle, “Row” and in red “Row”, on the right “Column”, in red “Column” and “Unmerge cells”.
A merged cell in the last row; the rows above stay two-column.
  1. 1The two cells are one; the content spans the whole width.
  2. 2“Unmerge cells” restores the original cells with their content.
  • Which row: For the data table, header row, data row and every extra row are rows of their own. What you select decides which one is merged.
  • Side by side: This works only with directly adjacent cells, for the free-form table only with cells of the same row. Otherwise the bar shows the note “not adjacent” instead of the button, and for the data table an attempt reports: “To merge, select at least two columns that sit NEXT to each other — with Ctrl+click.”
  • On top of each other and as a block: This works only within one record: the main row with its extra rows or extra rows one below the other. Not between header row and data row, because the header repeats on every page, and not between two records. In a free-form table, cells on top of each other, that is, from two rows, cannot be merged.
  • No overlap: If a cell merged on top of each other reaches into a row from above, “Merge cells” rejects a merge across this column and names it: “Merging is not possible: column 2 is covered in … by a vertically merged cell above it. …” Likewise if a merged cell reaches into the block from the left. Then undo this merge first, or select the cells without this column.
  • Nothing is lost: Hidden cells keep width and content; they are just neither shown nor printed. If something really is in a hidden cell, the document says so: When the PDF is created, a note in English appears, for both kinds of table (see Problems and messages: Notes and warnings). It does not report an empty hidden cell.
  • Unmerging: Select the merged cell and click “Unmerge cells” (note on the button for the free-form table: “Unmerge the cells — all original cells stand on their own again, with their content.”). This restores all original cells with their content, for a block horizontally and vertically at once: “Merge undone — 3 columns are separate again.”
  • Columns in a merge: If you insert a column in a merge, the merge grows with it; if you delete one, it shrinks; when moving, the whole block moves. If a merge has to be undone in the process, the designer says so.
  • Page break: A table with merged cells no longer splits a row across two pages; it moves entirely to the next one; “Keep row together at page break” is then grayed out (see Keeping a row together or splitting it).
  • In the PDF, for the free-form table a merged cell is as wide as its columns together; its content has this width minus the padding on both sides.

The ⓘ at the section “Cells” in the settings of the table also explains merging. What it says about merging on top of each other and in the header row applies to data tables.

Tip

In the header row of a free-form table, as things stand today the bar does not offer merging: Even with several selected header cells, only “Split into 2 columns” appears, and a merged header cell from a former data table cannot be unmerged there. For a heading over several columns, uncheck “Show header row” and design the first row as the header: merge cells, set a background in the cell designer, make the text bold. This row does not repeat on following pages, however.

Splitting columns

Split into 2 columns: The button appears for a single, unmerged cell. It makes two columns out of the whole column, with header and all rows, even if you have selected a header cell or a cell of an extra row. The width is halved, each half at least 4 mm; the new column is to the right of it and empty, also in the header. Border, header background and the font color of the header cell are taken over, min. and max. width are not. Objects in the cells of the old column are fitted to half the width, images shrink with their aspect ratio. Merges across the split point grow by the new column. Message: “Column split — the new one sits to the right and is still empty.”

In the free-form table, the button also appears for selected header cells; the new right half has an empty cell in every row. “Vertical alignment” is not taken over by it.

Tip

If only one row is to have two cells side by side, split the column and merge the two halves again in all other rows. Splitting fits the objects into the left half in all rows: What no longer fits becomes narrower, an image together with its height; a table keeps its width. What stood further to the right moves to the left edge. Merging again does not make the objects wider again. Therefore split before you fill the cells, or drag the objects back to full width in the cell designer afterward. The header row then keeps two header cells, the right one empty; in the free-form table they cannot be merged. If you need a continuous heading, uncheck “Show header row” and design the first row as the header (see the tip under Merging cells and splitting columns).

Tables in groups and cells

A data table or a free-form table can be in a group or in a cell of another table, for example the batches per item. Such a table has no page break of its own: The header appears once, and it moves with its container. If the container is split at the page boundary, its header is not left alone at the end of the page: If not even the beginning of the first row fits below it, it moves to the next page together with it (the exception is described under Header on following pages).

Table in a group

Open the group with a double-click and click “Data table” in the window, or drag the button from the ribbon or a list or rule from the area “Data” onto the group. With a click, the table is 2 mm from the left margin and 2 mm below the lowest object of the group, when dragged where you let go. The columns are fitted to the width of the group from this point minus 4 mm; if the group has no width of its own, the width with which it stands on the canvas counts. The table is based on its rule as usual; you can view and change the row source. For a free-form table, the way is described under Free-form tables: Where the new table goes.

  • Properties: At the top it says only “Table”, below it “⬆ Take out of group”, which puts the table one level up (see Moving objects in and out). X and Y count from the group (see Position in a group or cell). Below the tabs there are also, with at least two objects in the group, “Order in the group” (see Order in the group) and “🗑 Delete element”, which deletes without asking. “Keep row together at page break” is grayed out.
  • In the PDF: The header row is not repeated, even if the checkbox for it is checked, and keeping rows together has no effect. The table moves with the group; if the group is taller than a page or is split across pages, print distributes it together with the table across the following pages. Its header is not left alone at the bottom: If not even the beginning of the first row fits below it, the table begins with its header on the next page. If it is at the very top of the group, or if less of the group’s text would be left above it than “Minimum lines when text is split” requires (for example just a heading line), the whole group begins on the next page (see At the page edge: Minimum lines when text is split). If the group has a background color or a closed border, the protection of the minimum lines applies only to a limited extent (see the “Caution” box under At the page edge: Which texts the protection applies to). An exception is also the group that is the first object on its page and taller than a page (see At the page edge: The first object on a page): If the header of the table still fits below the text but no row does, the rows of the header count too. If text and header together suffice for “Minimum lines when text is split”, the text stays alone, with the default of 2 even a single line; the table begins with its header on the next page. The canvas does not split the group and can differ from print here; where the header is in print is shown by the full preview. If the group has a fixed height, its bottom edge is a wall: Rows that no longer fit entirely are missing in the PDF, and the document reports how many (see What the wall does to an object). The message appears in English when the document is created; for a free-form table it counts rows. The canvas may still show a cut-off row of a free-form table partly; rely on the full preview here.

Tip

Switch on “Automatic height (fit to content)” on a group with a data table. Then the group grows with the rows, and nothing is cut off (see Automatic height and limits).

Table in a table cell

A table in a cell shows, in every row of the outer table, the list of that row, for example the batches below each item.

  1. Double-click the data cell of the outer column that the table is to go into. The column designer opens. In the area “Data” there is now the branch “Per row · …” with the fields and lists of a row.
  2. Drag the list, for example “Chargen”, or a rule on it from the branch “Per row” into the window. For a list, the designer creates a rule and opens its window; the column selection follows. For a rule, it goes straight to the column selection.
  3. Choose the columns and click “Apply”. The inner table is in the cell, with its top left corner where you let go; its columns are fitted from there to the width of the cell minus 4 mm.
The window of the column designer for column 2. At the top left the path “Document › Column 2”, on the right the zoom slider (142 %) and the button “✕ Close”; below it the ribbon. On the left in the area “DATA” the collapsed rows “Custom variables” and “System variables”, the collapsed branch “Per row · Chargen” with a light violet background and “All fields”. In the gray work area lies the dashed cell and in it a small table with a blue header row “Chargennummer” and “Wert” and a sample row with the blue field markers “Chargennummer” and “Wert”; it is selected (blue frame, handles left and right, move handle, at the top right the buttons “Column” and “Row”). On the right in the area “PROPERTIES” is the marker “TABLE” without a name, below it the tabs “General” and “Position & size” and in the section “DATA” a blue button “Data source & sorting” with a gear and “Data source: Chargen”. The section “STYLE” follows with header background, the two zebra fields and the grayed-out checkbox “Keep row together at page break” with its note.
An inner table in the cell of the outer table, edited in the column designer.
  1. 1You are in the column designer of the outer column; you edit the inner table here.
  2. 2The inner table shows the batches of each row of the outer table.
  3. 3The branch “Per row” in the area “Data”; here it stands for the selected inner table (“Per row · Chargen”).
  4. 4The bar of the inner table.
  5. 5For the inner table, “Data source & sorting” is here instead of “Filter & sorting (rule)”; you change filter and sorting of the rule in the area “Data” at the rule below the list.
  • Faster: In the area “Data”, expand the list of the outer table, for example “Positionen”, and drag the list below it, for example “Chargen”, directly onto a simple data cell of the outer table on the page. The column becomes a designed column in the process, its previous text stays as text, the inner table is below it, and it is fitted to the column width minus the padding on the left and right. If you drag without a suitable target, the designer reports: “Nested table: first double-click to zoom into a table cell, then drag the sub-collection into it.”
  • Too narrow: Every column of the inner table gets at least 10 mm. If the space is not enough, the designer warns that the inner table becomes wider than its cell and may stick out beyond it in the PDF.
  • Only via “Per row”: The button “Data table” in the ribbon of the window chooses the row source from the document, not from the row. For a table that refers to the row of the outer table, therefore take the way via “Per row”.
  • Properties: The inner table is based on its rule. Its path, however, counts from the row of the outer table, so the designer does not find the rule from the table. In the section “Data”, therefore, “⚙ Data source & sorting” is there instead of “⚙ Filter & sorting (rule)”, and in the window “Change…” is grayed out; you change the source by dragging the list in again. You change filter and sorting of the rule in the area “Data” at the rule below the list (in the column designer in the branch “Per row”) with ⚙. The sort levels in the window “Data source & sorting” sort the rows of the rule once more afterward; for ties, the order of the rule stays. “⬆ Take out of group” does not exist here. The inner table is edited in the column designer of the outer column; on the page, a click on the cell belongs to the outer column.
  • Deleting: In the column designer, select a column of the inner table and click “🗑 Delete entire table” on the “Table properties” tab; that removes the table from its cell.
  • In the PDF: Header and all rows of the inner table are in the cell; their height counts toward the row height of the outer table. It does not repeat the header. If the row or line of the outer table is taller than a page and is split, the header of the inner table is not left alone at the end of a page: If not even the beginning of its first row fits below it, it begins with it on the next page. If in this row of the outer table nothing is above the inner table, not even in a neighboring cell, the whole row begins on the next page; if it is the first row of the outer table, it takes its header along. The canvas knows the inner table only as a whole and therefore shows the cut approximately; where the header is in print is shown by the full preview.

Into a header cell, you insert a table via the ribbon of the header designer; it refers to the main record, because the header belongs to no row. For a table that refers to the row of the outer table, use a data cell of the main row as described above. Do not use the button “Data table” in the cell designer of an extra row for this: It too chooses the row source from the document, not from the row.

Across several pages

A table directly in the document runs across as many pages as its rows need. For a data table, you see nothing of this on the canvas; the full preview and the PDF show it. A free-form table already shows beyond the end of the page on the canvas (see Free-form tables: Beyond the end of the page).

Detail of page 2 of a printed document. At the top a blue header row with white bold type: Pos., Bezeichnung, Menge, Einzelpreis, Gesamt. Below it follow the rows 0200 to 0320, each with item number, description (“Position 20 - Dienstleistung Paket” etc.), quantity with unit, unit price and total in euros. Every second row has a light blue background (zebra). Row 0270 is taller: Its description runs over four lines of text.
Page 2 of a long data table in the PDF: The header row repeats, every second row is shaded.
  1. 1The header row is also on this following page.
  2. 2The row zebra colors every second row and continues across all pages.
  3. 3A row becomes as tall as its content: The description of this row runs over four lines of text.

Header on following pages

“Repeat header row on following pages” puts the header on every page that the table runs across; the default for all tables is in the template settings, “Page” tab, section “Tables”. Once you have clicked the checkbox on the table, it no longer follows this default (see Data tables: Section “Header row”). Where the header is when the first row no longer fits below it: It is not left alone at the end of the page, whether the checkbox is on or off. It moves to the next page together with the first row, and the table begins there:

  • If the first row has to go entirely to the next page, it takes the header along.
  • If the first row is taller than a page and less than 6 mm remain below the header, or not even its first piece fits in the rest, for example an image at the top of the cell, it begins on the next page, and the header moves along.
  • If “Keep row together at page break” is off and not even the first line of text fits below the header, it moves along in the same way.
  • Exception when “Repeat header row on following pages” is off: If the beginning of the first row has room over there only without a header, the header stays behind so that nothing is shortened. If nothing but the table is on the page, it then carries, apart from the header of the table, only the header and footer of the document.
  • If the table is in a group or in a cell of another table, its header never repeats, however the checkbox is set. If its container has to be split at the page boundary, the header likewise moves along with the first row; it stays behind only if the beginning of the first row would have room over there only without a header (see Tables in groups and cells).

How the canvas shows the header of a free-form table on the following page is described under Free-form tables: Beyond the end of the page.

Keeping a row together or splitting it

What happens to a row that no longer fits entirely at the end of the page is decided by “Keep row together at page break” in the section “Style”. This checkbox belongs only to the table; texts and groups have one of their own (see The checkbox “Keep together at page break”); what happens at the page edge with which object is shown by What happens at the page edge.

SettingWhat happens in the PDF
On (default) A data row is never split in the middle. If it no longer fits, it moves entirely to the next page; with extra rows, the whole record. Only a row that is taller than a whole page is split anyway: It begins in the rest of the page and continues on the next one. If not even its first piece fits in this rest, for example an image at the top of the cell, it begins on the next page. If that is the first row of the table, the header moves along.
Off The row may break at the end of the page, likewise before an area that repeats on every page and sits in the middle of the page. It is distributed line of text by line of text across all columns; each piece has its own padding and is as tall as its tallest column. Every row is at least as tall as the minimum row height. Rounded corners do not apply (see Data tables: “General” tab: Border, corners, guides, visibility).
Off, with a fixed row height Each column shows as many lines of text as fit into its cell; whatever would go beyond is dropped and reported. A split row can together become taller than the fixed height.
Free-form table (always on) Every row stays whole in print and, if it no longer fits, moves to the next page. Only a row that is taller than a whole page is distributed across the pages.

The checkbox works only for a data table directly in the document; for a free-form table it is always grayed out and checked. If print keeps every row together anyway, it is grayed out, shows “on”, and below it is the reason, for example “No effect: printing always keeps every row together here — a column is designed in the column designer.” This is the case if a column has a column designer (an image column too) or if the table has merged cells or extra rows or no data source. For a free-form table, the reason reads “… the table has no data source (fixed rows).”; further reasons are appended, for example “the table has merged cells”. If the table is in a group or cell, the checkbox is likewise grayed out, and the reason given there is “the table is inside a group or cell”. The page break is then decided by its container, however: The table has no page break of its own, it moves with it, and if it is split across pages, it is split along with it (see Tables in groups and cells). Its setting stays stored and applies again as soon as the reason no longer applies.

Caution

If a single piece of a row, a line of text or an image, is taller than the space on the page, it is printed in one piece and sticks out at the bottom. If it covers a footer that repeats on every page, the document reports a warning. A rectangle, the background of a group or a line that are taller than the space, by contrast, are shortened to it; the document reports how many millimeters are missing.

  • Without columns: A table without any column prints nothing; the document reports it.
  • Row source not found: If print does not find the row source or it is not a list, only the header row appears, and the document reports it (see Problems and messages).

The free-form table in the PDF: height, data and colors

This section applies to the free-form table. For the data table, row height, zebra and header background are with the properties of the table (see Data tables: “General” tab: Section “Cells” and Data tables: “General” tab: Section “Style”).

How tall a row becomes

Every row is at least as tall as its own dragged height or, if it has none, as the table’s “Minimum row height (mm)”. If the tallest content of one of its cells including padding at the top and bottom needs more, it becomes as tall as that. Hidden cells of a merge do not count here; a “Line spacing” of the table is included.

  • If the row height is fixed, no row is taller. Whatever reaches beyond, the PDF cuts off at the bottom edge of the row minus the padding, and when the document is created, a message appears for each row and column (“… the row height is fixed, so … mm of the cell content was not printed …”, see Problems and messages: Tables). If a cell has a fixed height, PDF and canvas cut off its content at this height. All places where the PDF cuts off are listed under Where the PDF really cuts off.
  • A text with a fixed height in a cell is cut off on the canvas. If cell and row grow along, the PDF prints it in full, and the row grows with it (see Texts: Width and height). If the row has a fixed row height or the cell a fixed height, the PDF cuts it off there.
  • “Vertical alignment” distributes the free space of a tall row: With “Middle”, the content moves down by half, with “Bottom” completely.

Data, colors and lines

  • Fields in the cells are filled with the record that the table is in: on the page with the main record, in the row of a data table with that row. Full preview and PDF show the values of the sample record or the real record (see Data sources and relationships: Sample record).
  • Order of the layers, from bottom to top: zebra of the rows, zebra of the columns, background of the individual cell, border of the cell and gray line, finally the content. Semi-transparent colors blend.

What changes in the document?

On the canvas

A data table shows the header row and a sample row; row zebra, page breaks and repeated headers are missing. A free-form table shows all rows, for a table directly on the page also the following pages with the repeated header. Fields appear as blue markers with their name. A merged cell shows its content across the whole width. If a cell has a fixed height, the canvas cuts off at the same edge as the PDF and draws a dashed orange line there; only in the cell designer does the content still appear in full. The windows for designing, the bars and the markings belong only to the designer. Visibility rules do not take effect here (see Visibility: What changes in the document?).

In the PDF

A table directly in the document runs across as many pages as its rows or lines need. The header appears on every following page if “Repeat header row on following pages” is on. If the first row already has to go to the next page, it takes the header along, whether the checkbox is on or off (the exception is described under Header on following pages). A row that is kept together stays whole and moves to the next page if it no longer fits; only a row that is taller than a whole page is split. A fixed row or cell height cuts off what does not fit, and the document reports it. A table in a group or cell has no page break of its own; if its container is split, its header is not left alone at the end of the page. How it really looks is shown beforehand by the full preview.