Contents
Strategic Partner Links
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
SDK Examples
To make a Table Group, you simply need to click the Make TableGroup
button in the Configure Table tab of your table. You will be able to tell that it worked when you notice a Table Group icon displayed in the lower left corner of the table component, and your Configure Table tab has now changed into a Configure TableGroup tab.
We can see our original table listed in the Configure TableGroup tab, and we have the option to add additional tables by clicking the Plus icon. Adding a child table will add a table that is a child to the table that is currently selected in the Table Group list. Adding a peer table will add a table that is a peer to the currently selected table. We can add as many of each of these as we need.
For example, in the image below I have added two child tables to my original Fruit Data table. I then have two peer tables to Fruit Data, one of them is a standalone table, while one has a child table with the child also having a child table.
As you can see from the image above, the Table Group hierarchy can get quite confusing very quickly. It is important to understand how each part of the Table Group works, and to always be aware of which table you are actually looking at inside the Table Group. To view a different table within the Table Group, simply select it from the hierarchy. The table displayed in the design area will switch depending on which table you have selected.
Fruit Data Selected
Objects Selected
This allows you to get a quick preview of how each of the tables within the Table Group are setup. To go in and configure an individual table within the Table Group, select it from the hierarchy and then click on the table object in the design area. The Configure TableGroup tab in the Property Inspector should change to the Configure Table tab, and will display properties relevant to the table you had selected. This allows you to add a Data Key, set grouping, configure relevant row styles, and format the table in any way that you want. After configuring the table, we can navigate back to the Table Group configuration by clicking on the Table Group
icon in the bottom left corner of the table.At the bottom of the Configure TableGroup tab, there is an option called Start on new page. With this option enabled, we can force the next table in the list to start on the next page instead of immediately after the previous table. This will only apply to the table that is currently selected.
In the Configure TableGroup tab, we can modify the hierarchy of the Table Group using the Arrow
buttons to the right of the table list. This allows us to change the order that the tables appear in, change a peer table into a child table, or change a child table into a peer table. If at some point, you realize you have added too many tables, you can also use the Trash icon to remove it. Be careful, as removing a table that has children will also remove the child tables.Finally, if you ever want to cancel the Table Group click the Delete
icon to do so.When adding tables to a Table Group, they can be added as either a "Child" or "Peer" table. These terms are always relative to adjacent tables in the group's hierarchy. Thus a table that is a child to one table may have some peers, as well as its own child tables . You can always tell the relationship between two tables by the indentation of each table.
In regard to the image above, the following statements are true:
When the report is generated, the first row of Table 1 will appear first. Each row of Table 1 will generate an instance of SubTable 1 and SubTable 2. Furthermore, each row of SubTable 2 will generate an instance of SubSub 1. After all of Table 1 has been represented on the report, Table 2 will appear on the report.
The behavior of Peer and Child tables are further described below.
Individual Datasource in Singular Table
Table Group with Two Different Datasources