Top  | Previous | Next

header_logo Tables - Table Groups

Table Groups

Table groups allow you to specify child tables for each object in the master list (using a list key found in each of those objects). It also allows you to specify additional "peer" tables that pick-up exactly where the first table ends (note: multiple tables can also be configured as multiple- page templates, providing a page break between tables).

Use

To turn a table into a table group, simply select the table and click the "Group in Table Group" button in the table inspector. The table is actually a child of a "Table Group" element, which has its own inspector.

Now you can drag any list key of the master table into the table group's table tree to add a child table (the Table Group pull-down menu also provides a way to add child or peer tables). This will add a whole new table for this "child" list key. You can edit each of the different tables in the table hierarchy by clicking their node in the table tree. Double-click a node to get its table inspector (or double click on the table template in the open document).

You can get back to the table group inspector by clicking on the "Table Group" button at the bottom left corner of the table template, or by selecting the table group icon in the "Selection Path" area of the inspector.

Parent Reference

To reference the parent row object from a child table, you can simply use the key prefix "Parent". So if a row in a movie role child table wanted to display the movie title, it could use the key "@Parent. getTitle@".

tablegroup