Table Layout
To specify a table's layout properties, follow the steps below:
1. Right-click the table, and select 'Properties' from the context menu. This opens the 'Table Properties' dialog box.

2. In the 'Layout' panel, select one of the available layouts, and click 'OK'.
When the table is bound to a data source (see Binding Data to a Table Element), the table column widths are calculated automatically based on the size of the result set. Use the layout options in the 'Table Properties' to modify how these widths are calculated:
• Fit Page
The table width is set to the width of the page. The column widths
are approximately proportional to the size of the data they hold. If
the contents are too wide to fit in the column, the size of the row is
increased and/or the contents are wrapped.

• Fit Content
The column widths are sized to fit the data they contain. If a
row is wider than the page, the table is wrapped around as shown below.

• Fit Content and Page
This is a variation of the 'Fit Content' layout option. In this
case, the last column of each table region is always adjusted to fill
the entire page area. In other words, all columns are sized to exactly
fit their contents with the exception of the last column in each table
region, which is sized to fit the remaining page width.

• Equal Width
The table width is calculated in the same way as in the 'Fit Page'
layout. Instead of distributing width to the columns based on their contents,
all columns are assigned the same width.

• Fit Content (Wrap One Table Region Per Page)
This layout option is similar to 'Fit Content'. It is particularly
useful for cross-tab (pivot) tables, where the number of column headers
is dynamic. This could cause the horizontal span of the table to get
quite large. If a table is too wide, the table is horizontally 'chopped'
up into multiple regions, with each region displayed on a new page.
Figure 7. Fit Content vs. Fit Content (Wrap One Table Region Per Page)

'Keep Span Together' applies to tables with multiple levels of headers, and ensures that parent-child header combinations are displayed on the same page. The 'Keep Group Together' option applies to tables with grouping, and uses forced page breaks to keep all detail rows of a group together on the same page if possible.
Note: there is a global maximum of 450 which can be changed by setting preference.trail.max in the .stylereport file.
It may be useful to set the maximum width of the table columns, particularly when one of the 'Fit Content' layout types is selected. The 'Table Properties' dialog box allows the maximum width in points to be entered.
To resize a table column manually, simply drag the table cell border with the mouse. (This enables the 'Manual Column Widths' option in the 'Table Properties' dialog box, and disables the automatic layout specification).
| << 5.7.2 Table Properties | © 1996-2013 InetSoft Technology Corporation (v11.5) | Matching Column Sizes in Two Tables >> |