Skip to content
Smart Templates Manual Website Manual for your AI

Data tables

In short

A “Data table” prints one row per record of a list from Dynamics, for example per line item of a quote. Its rows come from a rule; that is where you filter and sort. You set the whole table on the right in the properties, a column after a click on its cell. A double-click in a cell opens the designer for the heading or for the content of the whole column. On the canvas there is one sample row; all rows are shown only by the full preview and the PDF. How you design and merge cells and how the table behaves across several pages is described under Cells, header row and page break; a table without a data source is a Free-form table.

Creating a data table

A data table always stands on a rule. The rule determines which records become rows. The procedure is the same on every route: choose the row source, confirm the new rule for a list, choose columns. A table without a data source, whose rows and content you enter yourself, for example for a header block with address and document data, is not a data table but a “Free-form table”; how you create it is described under Free-form tables.

  1. At the top in the ribbon, in the “Tables” section, click “Data table”. The window “Choose the row source of the table” opens with your data tree.
  2. For the list the rows should come from, for example “Positionen”, click “choose”. The designer creates a rule that lets all rows of this list through and opens its window.
  3. Filter or sort right here, or click “Save”. More under Rules: The “Edit rule” window. The window “Choose columns — …” opens; after the dash is the name of the row source.
  4. Check the fields that should become columns, and click “Apply”. The table is on the last sheet below the existing content and is selected. The first time, a speech bubble points at it: “Double-click a cell to design the column”.

It is created only in the last step. If you cancel on the way, with “Cancel”, the ✕, the Esc key or a click next to the window, nothing is left behind: no half table and no rule without a table.

All routes to the data table

RouteWhat happens
Click “Data table” in the ribbon As described above. A selected group directly in the document does not count here; the table then still goes below the content. All the rules for where a click inserts are described under The ribbon: Where a click inserts.
Drag the button “Data table” onto the sheet The same windows. The table goes to the place where you release; an insertion line shows beforehand where space is made. If you release over a group, the group is highlighted, and the table goes into it.
Drag a list from the “Data” area onto the sheet Choosing the row source is skipped. The new rule with its window and the column selection follow. Where the table goes is decided by the place where you release, as when dragging the button.
Drag a rule from the “Data” area onto the sheet The table stands on exactly this rule. No new rule and no rule window are created; you go straight to column selection.
In the window of a group or cell, click “Data table” The table goes into the opened group or cell, 2 mm from the left edge and 2 mm below the lowest object in it (see The ribbon: Where a click inserts); its columns are fitted to its width minus 6 mm. This button can only be clicked, not dragged. For a table per row in a table cell, take the next route.
Drag a list or rule of a row into a table cell: in the column designer from the branch “Per row”, on the sheet from the data tree under the list of the outer table onto a simple data cell A small table of its own in every row of the outer table, see Cells, header row and page break: Table in a table cell.

Good to know

Under a further source, the data tree does not offer its lists as a row source: They belong to every single row of that source, and on the sheet they do not exist. You set up a table over the rows of a further source on a rule at the source itself, created with the ƒ sign at the source (see Data sources and relationships: Additional sources).

The new data table

On the canvas, a data table shows its header row and exactly one sample row. In the sample row the fields appear as blue markers with their name, not their values. All rows, the page breaks, the repeated headers and the zebra stripes of the rows are shown only by the full preview and the PDF, filled with the sample record (see Full preview and PDF: The full preview).

Excerpt of the canvas. At the top left is the heading “RECHNUNG” in large bold type. Below it is a table with a blue header row (white: Pos.-Nr., Bezeichnung, Menge, Einzelpreis, Gesamt; Menge, Einzelpreis and Gesamt right-aligned) and a single white sample row with dashed cell borders in which every field appears as a blue-shaded marker with its name (Pos.-Nr., Bezeichnung, Menge, Einzelpreis, Gesamt). Around the table is a blue frame with a square grip on the left and on the right. At the top left above the table sits a blue button with a cross of four arrows. Above the top right corner are two blue buttons “Column” and “Row”. Above the middle of the table a dark blue speech bubble “Double-click a cell to design the column” points down at the table.
A new data table on the canvas: header row and a sample row with field markers.
  1. 1The header row with the column titles, blue with white text.
  2. 2The sample row: Fields appear as blue markers with their name, not with their values. All rows are shown only by the full preview and the PDF.
  3. 3With the ✥ you move the whole table; a click on it selects it.
  4. 4The bar above the top right corner: add a column, create an extra row.
  5. 5Grips for the table width: All columns grow or shrink in the same ratio.
  6. 6The speech bubble appears once per template and disappears at the next click.
PartHow it starts
Columns One column per checked field, all of equal width: The usable page width (sheet minus margins, with “Ignore page margins (use the full page)” the whole sheet) is divided by the number of fields and rounded to whole millimeters. If the sum would then exceed this width, it is rounded down to 0.1 mm instead; on A4 with the default margins, two fields become 87.5 mm wide each. With no field checked or with “No fields (2 default columns)”, two empty columns “Column 1” and “Column 2” are created.
Headings The name of the field in the language of the template.
Content Amounts in the currency format of the template. Numbers with as many decimal places as Dynamics provides for the field; if nothing is stored there, with at most four. The notation, for example 1.234,56, comes from the template. Date fields in the “Date format” of the template, as of our current version also without a time even if the field carries one in Dynamics (see Numbers, currency and dates: Date & time). Yes/no, choice and status fields with their label from Dynamics in the option label language, for example “Bezahlt” or “Offen” (see Numbers, currency and dates: Option label language). Everything else as it is in Dynamics. You set the formats under Numbers, currency and dates: “Numbers & date” tab.
Horizontal alignment Numbers and amounts right-aligned, everything else left-aligned. With the two default columns, the first is on the left, the second on the right.
Image fields An image field becomes an image column: an image of 20 × 15 mm, smaller in narrow columns. Beforehand the designer asks about the quality. The column has a column designer from the start, in which you change the image freely. A file field likewise becomes an image column, without the question. If a record has no image, its cell stays empty. More under Images: Images from the data.
Header row Blue background (#2B4CC4), white bold text at 9 pt, at least 8 mm high.
Data rows Text at 9 pt, dark gray, at least 7 mm high, 1.5 mm between cell edge and content.
Lines Per column a light gray line of 0.5 pt above and below the header cell and below the data cell.
Font The font that applies to text in the Template settings: “Font” tab.

Good to know

You change font, color and horizontal alignment on the text in the header or column designer (see Cells, header row and page break: The windows for designing). To do this, double-click the cell and then the text; the “Edit text” window opens (see The “Edit text” window).

The row source

The row source says which records the table prints as rows, for example the line items of an order. It is a rule. You choose it when creating the table and can look at it or change it later.

The “Choose the row source of the table” window

It appears after a click on “Data table”, after dragging the button and when you change the row source of a table. What you choose is a path, not a value: The tree shows relationships and rules, but no fields. You always choose from the document, not from a table row; for a table per row see Cells, header row and page break: Table in a table cell.

The window “Choose the row source of the table” on a darkened background. At the top the title with a round ⓘ and a ✕ on the right. Below it an explanatory text (“A table gets its rows from a rule …”) and a search box “Search for a relationship or rule…”. In a bordered tree is the expanded source “Rechnung ★” with an ƒ box and an ⓘ, below it a search box of its own “Search in »Rechnung ★«…” and four rows: “Kunde” with a blue N:1 marker and an ƒ box; “Rechnungspositionen” with a purple 1:N marker, on the right gray “choose” and an ƒ box; the rules “Positionen” and “Kennzahlen” with a purple ƒ sign, on the right each a gear and “choose”. Below the tree on the left is the button “Free-form table (no data)”.
The window “Choose the row source of the table” with the data tree of a sample invoice.
  1. 1The ⓘ explains the whole procedure from choosing to the finished table.
  2. 2The search box filters the tree as you type.
  3. 3“choose” on a list: The list becomes the row source. The window of a new rule and the column selection follow.
  4. 4ƒ on a relationship: Creates a further rule there.
  5. 5“choose” on a rule: The rule becomes the row source, and you go straight to column selection.
  6. 6“Free-form table (no data)” creates a free-form table instead of the data table.
Part of the windowWhat it does
ⓘ at the title Explains the whole procedure from choosing to the finished table.
Note “A table gets its rows from a rule …” Summarizes the two routes: choose an existing rule or a relationship for which a rule is created.
“🔍 Search for a relationship or rule…” Filters the tree as you type. What you have expanded stays expanded.
“choose” on a list Takes this list as the row source. The window of a new rule follows, then the column selection.
“choose” on a rule Takes this rule as the row source; you go straight to column selection. If the rule returns only one record, the button has a warning border, and a question follows (see below).
ƒ on a relationship Creates a further rule on this relationship (see Rules: Creating a rule).
“Free-form table (no data)” Creates a free-form table instead of the data table. When changing the row source, the button turns the existing table into a free-form table: The columns stay, and what was previously in the columns is copied into their rows.
✕, Esc or a click next to the window Cancels. At this point nothing has been created yet.

Question “This rule returns only one record”: If the selection of a rule is set to “Only the first”, “Only the last” or “The one at a specific position”, it returns exactly one record and no list; the table would then stay empty (the reason is given under Rules: Keeping specific records). If you choose such a rule with “choose”, the designer therefore asks. “Use it anyway” takes the rule, “Cancel” does not. If all rows are to be printed, in the rule in the “Selection” tab clear the checkbox “Keep only specific records”. For a limited number only, set the selection to “The first N (e.g. the top 5)” (see Rules: “Selection” tab: sorting and selecting).

The window of the new rule: If you have chosen or dragged a list, the designer creates a rule named after the relationship and opens its window “Edit rule”. Only after “Save” does the column selection follow; if you rename the rule beforehand, the new name applies. “Cancel”, the ✕, Esc or a click next to it remove the rule again, and no table is created. If you set the selection in the window to a single record, the designer warns: “This rule returns only ONE record — the table you are building from it will therefore stay empty. …”

The “Choose columns — …” window

It follows the row source. Until the fields have been loaded from Dynamics, it says “loading fields…”.

The window “Choose columns — Rechnungspositionen”. At the top the title and a note (“Check fields → each one becomes a column (header = field name, value = field per row) …”), below it a search box “Search field…” and the collapsed row “Custom variables”. In a box outlined in light purple, “Fields per row — Rechnungspositionen”, there is first a search box of its own “Search in »Fields per row — Rechnungspositionen«…”, below it rows with checkboxes, a field type marker and on the right each “per row”: Pos.-Nr., Menge, Einzelpreis and Gesamt are checked, Einheit is not. Below it the expanded relationship “Produkt” (N:1 marker) with “Bezeichnung” checked and “Artikelnummer” and “Einheit” unchecked; last, collapsed, “Chargen” (1:N marker) and the rule “Chargenliste”. At the very bottom the buttons “Cancel”, “No fields (2 default columns)” and on the right the blue button “Apply”.
The window “Choose columns” with five checked fields, among them a field from the relationship “Produkt”.
  1. 1The note explains: The header is the field name, the value is the field per row.
  2. 2The search box filters the fields; your checkmarks are kept.
  3. 3Every checked field becomes a column.
  4. 4Relationships can be expanded; their fields can become columns as well, here the name of the product.
  5. 5“No fields (2 default columns)” creates the table with two empty columns.
  6. 6“Apply” builds the columns from the checked fields and creates the table.
Part of the windowWhat it does
Note “Check fields → each one becomes a column …” Explains the selection: The header is the field name, the value is the field per row, an image field becomes an image column.
“🔍 Search field…” Filters the fields.
Tree “Fields per row — …” The fields of a row with checkboxes to check. For a rule, its calculated fields and its variables are also there (see Rules: What is different for a variable of the rule); if the rule summarizes rows, its result fields are there. Relationships can be expanded; their fields can become columns as well, for example the name of the product. Your checkmarks are kept while searching and expanding.
“Cancel” Creates nothing and removes a rule that was just created. Esc and a click next to the window work the same way.
“No fields (2 default columns)” Only when creating: The table gets two empty columns; you set the fields per column afterwards.
“Keep columns” Appears instead of the previous button when you change the row source of an existing table: Only the row source changes, the existing columns stay in place.
“Apply” Builds the columns from the checked fields. Without a checkmark it works like the middle button. When changing the row source, the new columns replace all previous ones including their design; Ctrl+Z brings back the old state.

If an image field is checked, the designer first asks once, for all image columns, about the quality. With several image fields the window is called, for example, “Quality for »2 image columns«”. After “Cancel”, Esc or a click next to it, the column selection stays open, and nothing is created (the answers and everything else: Images: Quality).

The “Data source & sorting” window

Select the table and click “Data source…” in the “Data” section. If the table stands on no rule that the designer finds from the table, the button is called “⚙ Data source & sorting”. Changes in the window apply immediately; “✓ Done”, Esc or a click next to it close it.

Part of the windowWhat it shows or does
Section “Row source” with ⓘ The ⓘ explains the row source, the sample row and the 20 sample rows of the canvas.
Row “Rule” The name of the rule and of the relationship it lies on. For an older table directly on a relationship, the row is called “Relationship”. For a table in a table cell, the path to the list appears there, from the row of the outer table. For a free-form table, “— no data (free-form table) —” appears there. Nothing can be typed here.
“Other data source…”, for a table without a rule “Change…” Opens “Choose the row source of the table”, see Changing the row source. For a table in a table cell the button is grayed out: You change its source only by dragging the list from the data tree into it again.
Note “Filter, sorting, grouping and selection are in the rule …” with “⚙ Edit rule” If the table stands on a rule, the button opens that rule. There are then no fields of their own here for filter and sorting.
Sort levels Only for tables that stand on no rule that the designer finds from the table, see Sorting on the table itself.

Changing the row source

  1. Select the table, click “Data source…” in the “Data” section and in the window click “Other data source…”. If the designer finds no rule for the table, for example because it was deleted, the buttons are called “⚙ Data source & sorting” and “Change…”.
  2. Choose the new list or rule. For a list, the window of the new rule opens first.
  3. In the window “Choose columns — …” click “Keep columns” if your columns should stay. Or check new fields and click “Apply”; then these replace all previous columns. If you kept the columns, the designer checks whether they fit the new row. If everything fits, it reports “The columns match the new row source — nothing to assign.” Otherwise the window “Assign the columns to the new row source” opens.

In the window “Assign the columns to the new row source” you give the columns their new fields; how that works is described under Data sources and relationships: The “Assign variables” window. Whatever stays open is removed from the cells on applying. If you cancel, the columns keep pointing to the old fields, and the designer reports: “Nothing assigned — the columns still point to the old fields.” If you insert a table into another template, a window built the same way with the title “Assign variables” can appear; in it you also reassign its row source.

Older tables directly on a relationship

In the past a table was allowed to stand directly on a relationship. If you open such a template, the designer converts each of these tables once to a rule of its own, including tables in cells and extra rows. It takes filter and sorting along and reports it: “This template dates from the time when a table could be based directly on a relationship. …” The conversion is saved only when you save the template.

  • The order of the rows can change: A rule always orders numbers by size (2 before 10), and it knows only two sort levels. The message names both if it affects a table.
  • If the relationship cannot be assigned at the moment, the table stays unchanged. The message then advises expanding the relationship once in the data tree and reloading the template.
  • If a table still stands on a relationship, the “Data source & sorting” window shows a yellow box: “⚠ This table stands directly on a relationship. That is no longer supported …”. The button “Turn into a rule” creates a rule with the name of the relationship and the addition “(rule)”, takes filter and sorting along and switches the table to it: “The table is now based on the rule »…« — filter and sorting were moved along.” If it does not find the relationship, it reports “Relationship not found.”

The properties of the whole table

You reach the settings of the whole table in two ways, with the same fields:

  • Selecting the table: Click in a cell; at the top left of the table ✥ appears, and a click on it selects the whole table. Or in the “Structure” area click the row “Table”. A click on the edge of the header row outside a cell also selects the whole table. On the right under “Properties” the tabs “General” and “Position & size” then appear. At the top it says “Table” and next to it where the rows come from, or “no data source”; for a table in a group or cell only “Table”.
  • From a column: If a column is selected, you find the same settings in the “Table properties” tab, without having to select the table first; the column stays selected. There, under “Position & size”, only the position with “Advanced” appears. Positioning behavior and arrangement exist only if the table itself is selected.

The properties panel remembers which tab you used last (see The properties panel). The section headings there are in capital letters.

The properties area on the right, upper half, with a data table selected. At the very top the heading “PROPERTIES”, below it a blue marker “TABLE” with the name “Rechnungspositionen”. Below it two tabs: “General” (active, blue, underlined) and “Position & size”. Section “DATA” with ⓘ: a wide blue button “Filter & sorting (rule)” with a gear and next to it a white button “Data source…”, below it small “Data source: Rechnungspositionen”. Section “STYLE”: “Header background” with a blue color field and the value #2B4CC4; “Zebra (every 2nd row)” and “Zebra (every 2nd column)” each with an empty, checkerboard-like color field and the text “none”; a checked checkbox “Keep row together at page break”. Section “HEADER ROW”: checked “Show header row”, “Repeat header row on following pages” and “Fit header row height to the content automatically”, below it the field “Minimum header row height (mm)” with the value 8.
The properties of a selected data table, “General” tab: the sections Data, Style and Header row.
  1. 1At the top it says what is selected: “Table” and next to it where the rows come from.
  2. 2The two tabs; the one used last stays active next time.
  3. 3Data: Opens the rule of the table or the “Data source & sorting” window.
  4. 4Style: fill color of the header row and optional zebra stripes.
  5. 5Decides whether a row may be split at the end of a page.
  6. 6Header row: show, repeat on following pages, height.

“General” tab: “Data” section

SettingWhat it doesDefault
“⚙ Filter & sorting (rule)” Directly opens the window of the rule the table stands on: filter, sorting, calculate, selection. Appears if the table stands on a rule, also in a group. –
“Data source…” Opens the window “Data source & sorting”: view or change the row source. –
“⚙ Data source & sorting” Appears instead of the two buttons if the table stands on no rule that the designer finds from the table: for older tables directly on a relationship, for tables in a table cell and for free-form tables. Opens the same window. –
Row “Data source: …” Shows the row source as the template stores it, or “no data source”. If the table has sort levels of its own, their number follows. –

The ⓘ at the heading “Data” explains the extra rows.

“General” tab: “Style” section

SettingWhat it doesDefault
“Header background” Fill color of the whole header row, the basis for all header cells. You color a single column differently in the header designer (see Cells, header row and page break: Designing the header row: the header designer); that then lies on top. Empty means: no background. How the color field works is described under Border, background and colors: Color field and color picker. Blue, #2B4CC4
“Zebra (every 2nd row)” Colors every second data row, that is the 2nd, 4th, 6th and so on, continuing across all pages. The header row stays untouched; the extra rows of a record are colored together. With an opacity below 100% the color blends with what lies beneath, for example with the row color of an older template (see “General” tab: Border, corners, guides, visibility). You do not see the zebra on the canvas because only the first row appears there. empty (off)
“Zebra (every 2nd column)” Colors every second column in every data row and extra row; the header row stays untouched. Where a colored row and a colored column cross, it is colored only once, with the color of the row zebra. A cell background lies on top. Visible on the canvas. empty (off)
“Keep row together at page break” On: A data row is never separated in the middle; if it no longer fits on the page, it moves entirely to the next. Off: The row may break at the end of the page. If printing keeps every row together anyway, the checkbox is grayed out, shows “on”, and the reason appears below it. The reasons are given in Cells, header row and page break: Keeping a row together or splitting it. on

Caution

The header row has white text. If you empty “Header background”, the text is white on white paper and can no longer be seen; there is no warning for this. It is simpler to set a header background again. There is no header text color for the whole table; you would have to change the text color in each header cell individually in the header designer.

“General” tab: “Header row” section

SettingWhat it doesDefault
“Show header row” On: Above the rows there is a header row with the column titles. Off: no header row, not even on following pages; the table begins with the first data row. Practical if the columns speak for themselves or tables are to join seamlessly. on
“Repeat header row on following pages” On: If the table runs across several pages, the header is on every one. Off: The header is only once above the first row, and the rows of the following pages move up. The checkbox shows what currently applies: the setting of the table, otherwise the default from the Template settings: “Page” tab, “Tables” section. A click stores the value firmly on this table. After that it no longer follows the default of the template; there is no way back to “like the template” in the designer. Without a header row, the checkbox is grayed out. In a group or cell it can be set but has no effect there. Where the header stands if even the first row must move to the next page is described under Cells, header row and page break: Header on following pages. on (default of the template)
“Fit header row height to the content automatically” On: The header row becomes as high as its content needs, for example with a title over two lines; the number below is the minimum height. Off: fixed height; whatever does not fit is not printed, and the document reports it. When switching, the designer enters the height the header currently needs, at least 4 mm, and says so. The switch applies only to the header row; the data rows have their own. Without a header row it is grayed out. on
“Minimum header row height (mm)”, with the checkbox off “Fixed header row height (mm)” The minimum height or the fixed height of the whole header row, in steps of 0.5 mm, at most 5000 mm. The change is visible on the sheet while you type. You can also drag the height at the bottom edge of the header row. Without a header row the field is paler and has no effect. 8 mm

“General” tab: “Cells” section

SettingWhat it doesDefault
“Fit row height to the content automatically” On: Each data row becomes as high as its content, a row with a photo higher, one without lower; an image field without an image costs no space, nor does an empty code with “print nothing” (see Barcode, QR code and GiroCode: Codes in tables). The number below is the minimum height. Off: All rows get the same fixed height. Whatever does not fit is cut off and reported, in every column, also in designed cells and extra rows. When turning it off, the designer enters as the fixed height what the tallest content of the sample row currently needs, at least 4 mm, and says so: “Fixed row height: … mm — that is how much the content needs right now.” Longer values in the document are still cut off and reported. When turning it on, it likewise sets the minimum height to what the content currently needs; an earlier minimum height does not come back by itself. on
“Minimum row height (mm)”, with the checkbox off “Fixed row height (mm)” The minimum height or fixed height of every data row and every extra row, in steps of 0.5 mm, at most 5000 mm. With automatic height, a row is never lower than one line of text in the table font including padding above and below. A fixed height applies exactly as entered. Only a row that is split at the end of the page with “Keep row together at page break” off can become taller together (see Cells, header row and page break: Keeping a row together or splitting it). If you enter a height with the checkbox on that the content overrules, a window “Row height follows the content” explains after the entry why the row stays taller. The same field is in the “Column” tab. 7 mm
“Cell padding (mm)” Distance between cell edge and content, the same in header, data and extra row cells. At 0 the content reaches the edge. If the padding is so large that no room for text remains in a narrow column, that column prints no text, and the document reports it. Negative values become 0, an empty field counts as 0. Texts that fill a cell are adjusted by the designer to the new width. Also works in the PDF. 1.5 mm
“Line spacing” How airy multi-line text stands in the table: 1 single, 1.5 one and a half, 2 double; values up to 5 in steps of 0.05 are allowed. Applies to the whole table, except for a header cell from the header designer: There the line spacing of its text applies. Empty here means “as before”, not “as in the template”. With a fixed row height the row does not become taller; less text then fits in. If a text in a cell has a tighter line spacing, it keeps it. empty (“as before”)

Caution

The field “Line spacing” has the same trap as the field of a text (see Texts: Line spacing): As of today the properties panel rebuilds itself with every entry, for every table, also a free-form one; afterwards the field is no longer active, and further characters do not arrive. After typing, check that the whole value is there, and otherwise click into the field again before you continue typing. A backspace without an active field deletes the selected table here or empties the selected cell; Ctrl+Z brings back both.

The ⓘ at the heading “Cells” explains merging cells (see Cells, header row and page break: Merging cells and splitting columns).

The properties area on the right, middle part. Section “CELLS” with ⓘ: checked “Fit row height to the content automatically”, field “Minimum row height (mm)” with 7, field “Cell padding (mm)” with 1.5, field “Line spacing” with the gray placeholder “as before”. Section “BORDER” without input fields, only with the note “You set borders per cell or header cell in its designer — column designer, header designer or cell designer …”. Section “CORNERS” with the empty field “Corner radius (mm)”.
The properties of the table, continued: cells, border note and corners.
  1. 1The ⓘ at “Cells” explains merging cells.
  2. 2Minimum height of every data row; with automatic height the row grows with its content.
  3. 3Distance between cell edge and content.
  4. 4There are no fields for borders here: You set them per cell in the header or column designer.
  5. 5Rounds the corners of the whole table.

“General” tab: Border, corners, guides, visibility

SettingWhat it doesDefault
Note under “Border” Not a field. You set borders per column in the header or column designer (the fields: see Border, background and colors: What the fields are called) and transfer them to the whole table with “⇊ Apply to all columns” or “⇊ Apply to all header cells” (see Cells, header row and page break: Applying to all columns or header cells). There are no lines for the whole table. The table lines of older templates are converted to column borders on loading; an old row line or row color is still printed but no longer has a field. –
“Corner radius (mm)” Rounds the corners of the table (the field in general: see Border, background and colors: What the fields do). If at least one column has a visible cell border, a round border around the whole table is added, in the color and thickness of the first column border; otherwise only the areas are rounded. It is rounded only as long as the whole table fits on one page. If “Keep row together at page break” is off, the table stays square-cornered, unless it is in a group or cell, has merged cells, extra rows or a column with a column designer. Canvas and PDF treat the checkbox “Keep row together at page break” the same way. Whether the whole table fits on one page and therefore stays round is shown only by the full preview: The canvas shows the rounding even if the table runs over several pages in the PDF and stays square-cornered. empty (square)
“Show guides in the designer — in the whole template” The same switch as in the template settings: It applies to the whole template, not just this table (see Working on the canvas: Grid, snap lines and guides). on
“Turn visibility rules on/off” with “↳ Edit rule” Prints the whole table only if a condition is met; how you set up the condition is described under Visibility: The setting in the properties. It is checked against the level on which the table stands, not against its own rows. If it should appear only if there are line items, choose “Count” on a field of the line items, the comparison “greater than” and the value 0 (see Conditions in a table cell). off

“Position & size” tab

The tab has the sections that every object has. They are described on the pages the table refers to; here are the defaults of the table and what is different for it:

SettingFor tablesDefault
Positioning behavior and minimum gapSee Positioning behavior: The three options and Positioning behavior: Minimum gap above. For tables the following applies: The checkbox “Move along with the object below” does not exist (see Positioning behavior: Move along). With “Fixed position” the table begins exactly at the drawn place and does not move; after that it behaves like any table: It makes way for headers and footers, begins on the next sheet if its header row no longer fits, and breaks row by row. Flowing objects below it make way for it instead of overlapping it (see Positioning behavior: Fixed position).“Flowing on contact”
ArrangementSee Position, size, rotation and arrangement: Arrangement: layer order and sequence. A flowing table makes way and overlaps nothing.0
Position“X (mm)” and “Y (mm)” in the section “Position” (see Position, size, rotation and arrangement: Position and size, in a group Position, size, rotation and arrangement: Position in a group or cell). There are no fields for width and height: The width is the sum of the column widths, the height results from header and rows (see Position, size, rotation and arrangement: Width and height for each type of object).–
Only for the table, “Advanced”“Min. width (mm)” and “Max. width (mm)” are the lower and upper limit for the width of the whole table when you drag its side edges. Fitting when adding a column does not observe them, and they have no effect on the PDF.empty (off)

A table from an imported template can be saved so that it repeats on every page; there is no switch for this in the designer. Such a table has no positioning behavior (see Positioning behavior: The three options), only the arrangement. You build headers and footers from groups (see Pages, header and footer: Header and footer). The delete button is below the tabs and is visible in both.

Moving, copying, deleting

Deleting, when …withConfirmation
the table directly in the document is selected “🗑 Delete block” below the tabs “Delete this block?”
a column is selected “🗑 Delete entire table” in the “Column” tab (only for a table directly in the document) or in the “Table properties” tab (for a table directly in the document or in a table cell) “Delete the whole table with all its columns?”
the table in a group is selected “🗑 Delete element” none
the table is selected Del or Backspace none

You delete a table in a group by selecting it at the ✥ and using “🗑 Delete element”. Ctrl+Z brings back a deleted table (see Working on the canvas: Undo and redo).

Columns: adding, moving, width

The bar at the table

If the table, a column or a cell is selected, a small bar floats above the top right corner of the table. If only the table is selected, only “Column” and “Row” are there; the other buttons appear when cells are selected.

Excerpt of the canvas with a data table in which three header cells are selected. At the top left is the heading “RECHNUNG”. Above the right half of the table is a bar with four buttons: blue “Column”, red “Column” with a trash can symbol, blue “Merge cells” and blue “Row”. In the blue header row the three right cells Menge, Einzelpreis and Gesamt are outlined with a purple dashed line and slightly darkened; the last one (Gesamt) additionally has an orange frame. At the top left above the table sits the move handle with the cross of arrows. Below it is the sample row with blue field markers.
Three header cells are selected; above the table the bar shows the matching buttons.
  1. 1The handle ✥: move the table or select it entirely.
  2. 2Several selected cells are outlined with a dashed line; the one clicked last additionally carries a contrast frame.
  3. 3“Column” adds a new one to the right of the selected column.
  4. 4The red button “Column” deletes the column together with header and cells, without asking; Ctrl+Z brings it back.
  5. 5“Merge cells” appears when at least two cells are selected side by side without a gap.
  6. 6“Row” creates an extra row that appears below the main row for every record.
ButtonWhen it is thereWhat it does
“Column” always Adds a new one to the right of the selected column, at the end if no column is selected (see below).
“🗑 Column” with a selected column, header or data cell Deletes the column together with header and cells.
“Merge cells” with at least two selected cells that lie side by side without a gap, or a selected rectangle Turns the cells into one (see Cells, header row and page break: Merging cells and splitting columns).
“Unmerge cells” with a selected merged cell Restores the original cells.
“Split into 2 columns” with a single, unmerged cell Turns the column into two (see Cells, header row and page break: Splitting columns).
“not adjacent” with selected cells with a gap between them Not a button, only a note: Merging works only with columns that lie side by side without a gap.
“Row” always, for data tables Creates an extra row (see Extra rows).
“🗑 Row” with a selected cell of an extra row Removes this extra row together with its content.

All buttons work without a confirmation; Ctrl+Z undoes them. There is no right-click menu on tables.

Adding, deleting, moving

  • Adding: “Column” in the bar or “Column to the right” in the “Column” tab. The new column goes to the right of the selected one; if no column is selected or a cell of an extra row, it goes to the end. It is always 25 mm wide. From the selected column, otherwise from the last one, it takes the horizontal alignment, the header background and the text color of the header cell, min. and max. width and the borders, but not the vertical alignment. If this column has a header designer, the new one gets one designed the same way with the text “New”; if it has a column designer, one designed the same way, empty. Otherwise its header is called “New”, in the language of the template.
  • When space gets tight: If the table then no longer fits in its space, that is from its left edge to the right edge of the printed area or to 4 mm before the right edge of its group, all columns become proportionally narrower, but none narrower than 10 mm: “New column added — the table no longer fit into its space, so all columns have become proportionally narrower.” If the insertion point is in a merged block, the merge grows with it, and the message says so.
  • Deleting: “🗑 Column” in the bar or “🗑 Delete column” in the “Column” tab delete without asking. One column always stays: “At least one column must remain.” If the column is in a merged cell, that cell becomes narrower; if a merge is torn apart in the process, it is undone, and the message names it. If you are currently in the header or column designer of this column, deleting takes you out of the window.
  • Moving: Grab the header cell of the column and drag it to the new place; this also works for a designed header. An insertion line snaps to allowed places, never in the middle of a merged block; a copy of the column follows the pointer, the others move aside. A merged block moves as a whole: “Column moved.” or “Merged block of 3 columns moved — the merges stay.” Or use “◀ Left” and “Right ▶” in the “Column” tab. With the Ctrl key held down, dragging selects instead of moving; on data cells, dragging always selects. Arrow keys do not move columns.

The tooltip of “Column to the right” in the “Column” tab says the same, more briefly: “Insert a new column directly to the right of this column — it is 25 mm wide and copies the alignment, border and design of this column. If the table then no longer fits in its space, all columns become proportionally narrower.” You change the width afterwards in the field “Width (mm)”.

Dragging width and height

WayWhat happens
Field “Width (mm)” in the “Column” tab Works while you type. When you leave the field, the designer sets the width to at least 5 mm, to at least as much as the objects in the header and column designer need, and within the limits of min. and max. width of the column.
Dragging the column edge The thin handles between two columns are always there, even without a selection: “Drag the column edge (the neighboring column adjusts)”. The width moves between the left column and its right neighbor; the table stays the same width. For both, 5 mm, the space for their content and their min. and max. width apply. Objects from the header and column designer move along. There is no such handle on the right of the last column or in the middle of a merged cell. The drag selects the left column.
Dragging the table width Only with the table selected: handles on the left and right edge, “Drag table width – columns scale proportionally”. All columns grow or shrink in the same ratio. Never wider than the space on the page or in the group, never narrower than the content of the narrowest column, at least 10 mm; min. and max. width of the table and of the columns apply. On the left edge the right edge stays in place. If the drag hits the narrowest column, the designer reports: “It cannot get narrower: the column »…« is already as narrow as its content. …”
Handles in the header or column designer Dragging sideways changes the column width, with the same limits as the field (see Cells, header row and page break: Designing the header row: the header designer and Cells, header row and page break: In the column designer: properties, handles, notes).
Dragging the header row height With the table or a column selected: handle at the bottom edge of the header row, “Drag header row height (applies to the whole header row)”. Sets the header row height, at least 4 mm: with automatic height the minimum height, otherwise the fixed one.
Dragging the row height With the table or a column selected: handle below the sample row or below the last extra row, “Drag row height (applies to all data rows)”. With a fixed row height it sets the height of all rows, at least 4 mm. If “Fit row height to the content automatically” is on, dragging changes nothing in the stored height: The row follows its content, and the window “⚠ Row height follows the content, not the handle” explains it. The dragged space then counts only as working height in the column designer.

Caution

The PDF never compresses a table that is too wide by itself. If it extends beyond the right edge of the paper, the overhang is cut off, and the document warns. If it only reaches into the right page margin, a note appears; nothing is lost in that case. All the places where the PDF cuts off are described under Position, size, rotation and arrangement: Where the PDF really cuts off.

The settings of a column

Click a header or data cell. The column is selected, the clicked cell carries a frame in a contrast color, and on the right the tabs “Column” and “Table properties” appear. At the top it says “Column” and next to it, for example, “2 of 5 · Preis”; if the column has a header designer, only “2 of 5”. The “Table properties” tab shows the properties of the whole table. In the “Column” tab you find:

The properties area on the right with a column of a data table selected. At the top the blue marker “COLUMN” with “4 of 5 · Einzelpreis”, below it the tabs “Column” (active) and “Table properties”. Section “COLUMN”: two wide blue buttons “↳ Open header designer” and “↳ Open column designer” and below them side by side “◀ Left” and “Right ▶”. Section “SIZE”: field “Width (mm)” with 35, checked “Fit row height to the content automatically” and field “Minimum row height (mm)” with 7. Section “CELL”: the dropdown “Vertical alignment” with “Top” and a gray note that the background and border of the cell appear only once the column designer has been opened. Below it the white buttons “Column to the right” and “Delete column”, the latter in red text with a trash can symbol, a collapsed row “ADVANCED” and in the section “ACTIONS” the button “Delete entire table”, likewise in red text with a trash can symbol.
The settings of a selected column, “Column” tab.
  1. 1Which column is selected: number, count and header text.
  2. 2“Column” for this column, “Table properties” for the whole table.
  3. 3The buttons “↳ Open header designer” and “↳ Open column designer” open the design of the header or cell; this changes the column permanently.
  4. 4“◀ Left” and “Right ▶” move the column by one place.
  5. 5Width of this column; the table is as wide as all columns together.
  6. 6Background and border of the cell exist only with the column designer.
SettingWhat it doesDefault
“↳ Open header designer” Permanently turns the heading of this column into a designed header and opens the header designer, like a double-click on the header cell (see Cells, header row and page break: Designing the header row: the header designer). –
“↳ Open column designer” Permanently turns the column into a designed column and opens the column designer, like a double-click on the data cell (see Cells, header row and page break: Designing with the double-click: the column designer). –
“◀ Left”, “Right ▶” Moves the column by one place. A merged block moves only as a whole, the merges stay. Grayed out if the column or its block is already at the edge. –
“Width (mm)” in the “Size” section Width of this column; the table is as wide as all columns together. In steps of 0.5 mm, at most 5000 mm. For limits see Dragging width and height. from the column selection
“Fit row height to the content automatically” with “Minimum row height (mm)” or “Fixed row height (mm)” The same fields as under “Cells” section. They apply to all rows of the table, not just this column. on, 7 mm
“Vertical alignment” in the “Cell” section Where the content sits if the row is taller than it: “Top”, “Middle” or “Bottom”. Applies to every content of this column: the simple value, the objects from the column designer and the cells of the extra rows. Only if a row is split with “Keep row together at page break” off do its values stay at the top. The padding stays. The header row does not follow the field. A simple header text stands vertically centered in the header row. If it does not fit with a fixed header row height, it begins at the top, and whatever no longer fits at the bottom is missing in the PDF; the document reports it. Only its first line is always printed completely, even if it is taller than the space, for example because of a large font. If it reaches into the first data row in the process, the document reports it. “Top”
“Cell background” Fill color of the data cell of this column in every row, above the zebra and above the row color of an older template. It appears only once the column has a column designer; before that, this spot says: “The background and border settings of the cell appear once the column designer has been opened — it sets up the cell.” The color field works like any other (see Border, background and colors: Color field and color picker). no color
“Turn on border” with “Border color”, “Border thickness (pt)” and “Border lines (sides)” The border of the data cell of this column, in every row. Likewise only with a column designer. When you check it: light gray (#CCCCCC), 0.5 pt, all four sides; unchecking removes the border completely. On the canvas the border lies inside the cell, in the PDF centered on the edge (see Border, background and colors: Where the line sits). With extra rows the bottom line comes only below the whole record. The fields in detail: Border, background and colors: Border and background; what the checkbox sets in the individual places is shown by Border, background and colors: What the fields do. For a header cell the same values apply when you check it (see Cells, header row and page break: Designing the header row: the header designer). bottom, light gray, 0.5 pt
“⇊ Apply to all columns” Transfers cell background and border of this column to all others (see Cells, header row and page break: Applying to all columns or header cells). –
“Column to the right” Inserts a new one directly to the right of this column, 25 mm wide (see Adding columns). –
“🗑 Delete column” Deletes this column without asking. –
“Advanced”: “Min. width (mm)”, “Max. width (mm)” Limits for the width of this column when typing and dragging. They have no effect on the PDF. A new column takes them over from its neighbor, a split one does not. empty (off)
“🗑 Delete entire table” in the “Actions” section Deletes the table with all columns after a confirmation. In the “Column” tab only for a table directly in the document. –

Good to know

There is no field for the horizontal alignment of a column, for the value of a simple data cell and for the simple header text. You can drag a field onto a simple data cell, and Del empties it. You type text and change font and alignment on the text, as described under The new data table.

You create a code in a column, for example the EAN per line item, in the column designer (see Barcode, QR code and GiroCode: Codes in tables).

Extra rows: several rows per record

Normally a data table prints exactly one row for each record. An extra row is a further row below this main row, for every record. The classic case is a long description across the whole width below item and price. This turns 20 line items with one extra row into 40 printed rows.

  1. Select the table or one of its cells and, in the bar at the table, click “Row”. Below the sample row there is a new row, its first cell is selected: “Extra row created — it appears under the main row for EVERY record. …”
  2. If the row should span the whole width, on the right click “🔗 Across all columns”. The first cell now spans all columns.
  3. Double-click the cell, or on the right click “↳ Open cell designer”, and put text and fields into it. You can also drag fields directly from the “Data” area onto the cell (see Cells, header row and page break: Designing cells: the cell designer). The cell designer shows at the top left, for example, “📄 Document › Extra row 1 · Column 1”. The fields are filled in for every record, as in the main row.
Excerpt of the canvas. At the top left is the heading “RECHNUNG”. Above the table are four buttons: blue “Column”, blue “Unmerge cells”, blue “Row” and red “Row” with a trash can symbol. The table has a blue header row (Pos.-Nr., Menge, Einheit, Einzelpreis, Gesamt), below it the sample row with one blue field marker per column and below that a third row across the whole table width with a strong blue frame (selected). In it on the left is the blue field marker “Bezeichnung”.
An extra row below the sample row, merged across all columns, with the field “Bezeichnung”.
  1. 1The main row: one row per record.
  2. 2The extra row: It appears below the main row for every record and here spans all columns.
  3. 3A field that you dragged into the cell from the “Data” area; in print the value of each record appears there.
  4. 4“Unmerge cells” is here because the cell is merged across all columns; the button sets it back to one column.
  5. 5“Row” creates a further extra row.
  6. 6The red button “Row” removes the selected extra row together with its content (it is there only when a cell of an extra row is selected).

If a cell of an extra row is selected, at the top right it says “Extra row 1” and next to it the header text of the column. Below that:

PartWhat it does
Note “This row appears under the main row for EVERY record. …” Explains the extra row and the double-click.
“↳ Open cell designer” Opens the cell designer of the selected cell, like a double-click.
“🔗 Across all columns”, “🔗 Across the remaining 3 columns” or “⛓ Unmerge” In the first column the button merges the cell across all columns. In a later column it reaches from here to the last one; the whole width works only from the first column. In the last column it is grayed out. If the cell is already merged, it is called “⛓ Unmerge” and sets it back to one column. The same rules apply as under Cells, header row and page break: Merging cells and splitting columns.
“🗑 Delete this extra row” in the “Actions” section Removes the row together with its content, without asking. “🗑 Row” in the bar does the same. Ctrl+Z brings it back.

The cell designer of an extra row is described in Cells, header row and page break: The window of the cell designer. You set background and border there per cell, with the fields of a group; they are described under Cells, header row and page break: Background, border and size of a cell. Only the whole table gets rounded corners (see Corner radius of the table). There is no button here for transferring to all columns (see Cells, header row and page break: Applying to all columns or header cells).

Good to know

An empty extra row is not invisible: It takes up the minimum row height of the table (default 7 mm) or the fixed row height. If you do not need it, delete it.

  • Only with a data source: Extra rows exist only for a table with a data source. The “Row” of a free-form table means something different: a row with content of its own (see Free-form tables).
  • One record, one block: The rows of a record belong together. There is no separator line between them, it comes only below the record; the zebra colors them together; at a page break the whole record moves to the next page. “Keep row together at page break” is therefore grayed out (see Cells, header row and page break: Keeping a row together or splitting it).
  • What also applies here: Minimum and fixed row height, “Vertical alignment” of the column and the line spacing of the table.
  • Merges: If a row is added or removed, merges across rows are undone. The content stays; the message names the number, merging again is enough.
  • Order: The order of the extra rows cannot be changed.

On a cell of an extra row, the tooltip shows what is possible: “Extra row 1 · Click: select cell · Double-click: cell designer · Drag or Ctrl+click: select several (then »Merge cells«)”. Dragging up or down selects a rectangle with the main row.

Filtering, sorting, totals

Filter, sorting, grouping and “the first N” are in the table’s rule, not on the table itself. Open the rule with “⚙ Filter & sorting (rule)”; more under Rules: “Filter” tab: which rows come in and Rules: “Selection” tab: sorting and selecting. One row per record is printed, in the order the rule delivers. If the list is empty, only the header row appears in the PDF, without a message. For very large lists an upper limit of 20,000 rows per query applies; if it is reached, the document reports a warning (see Data sources and relationships: What the canvas loads and what is printed).

Good to know

If the rule delivers only a single record, for example with “Only the first”, the table stays empty in the PDF, and the document reports it (see The “Choose the row source of the table” window). If you drag such a rule onto the sheet, the designer does not ask.

A totals row below the table

The table has no totals row of its own. The table’s rule is not suitable for it: As soon as it calculates something in the “Calculate” tab, it summarizes its rows, without a criterion under “Group rows by (optional)” all of them into one. A calculated field of a rule on a list currently cannot be placed in a text on the sheet (see Rules: Using the result).

Instead, use a second rule on the same list, with the same filter as the table’s rule and a total such as “Gesamt is sum of Betrag”, without a criterion under “Group rows by (optional)”. Place it as a one-row table without a header row with the positioning behavior “Flowing” below the first one, so that it moves down with the line items table (see Positioning behavior: Flowing). How this works step by step is described under Rules: Example: the sum below the items table.

For a total in running text, for example “Gesamtbetrag: …”, use a custom variable (see Variables: What should it contain?). It calculates over all line items of the list; it does not know the rule’s filter. If the table filters, this total therefore differs from the totals row.

Sorting on the table itself

If a table stands on a rule, the rule sorts: in the “Selection” tab under “Sort by”, with two levels; it always orders numbers by size (see Rules: “Selection” tab: sorting and selecting). Sort levels of their own on the table exist only for tables that stand on no rule that the designer finds from the table: for older tables directly on a relationship and for tables in a table cell. They are in the window “Data source & sorting” under “Sorting (top level first, then the ones below)”; the ⓘ there explains them. Before it says: “A row condition no longer exists on the table itself: filtering is done in a rule. This table is not based on a rule and therefore shows all rows of its data source.” For a table in a table cell, this source is its rule; its filter applies (see Cells, header row and page break: Table in a table cell).

SettingWhat it doesDefault
Field “Field (e.g. Amount)” The name of the field of the row to sort by, as Dynamics names it. There is no dropdown; it is applied when you leave the field. A level without a field sorts by nothing. empty
“↑ ascending” / “↓ descending” Ascending or descending. Empty values always come last, also descending. “↑ ascending”
“123” Orders numbers by size (2 before 10) instead of character by character; values that are not a number come after. The numbers are read in the number style of the template. Without the checkbox everything is compared as text. off
“✕” Removes the level. –
“Sort level” Appends a further, empty level. –

The upper level applies first, the one below it only in case of a tie; with a complete tie the order of the source stays. Without levels it stays entirely with the order of the source; the note below says so as well: “Check 123 = sort numerically instead of alphabetically. Without levels the order of the data source is kept.” In the “Data” section of the table, the number of levels follows after “Data source:”.

What changes in the document?

On the canvas

The header row and a sample row, with extra rows a record with its rows. Fields appear as blue markers with their name. Column widths, header background and column zebra look like in print. Borders lie inside the cell here, in the PDF centered on the edge (see Border, background and colors: Where the line sits). Whether rounded corners stay in the PDF is shown only by the full preview (see Corner radius). Row zebra, page breaks and repeated headers are missing, and visibility rules have no effect here (see Visibility: What changes in the document?).

In the PDF

One row per record of the row source, filtered and sorted by the rule, over as many pages as needed, with the header on every page if set. An empty list yields only the header row. How it really looks is shown beforehand by the full preview. What happens on the following pages is described under Cells, header row and page break: Across several pages.