Crosstab Properties dialog

This dialog helps you to edit the properties of a crosstab. It contains the following tabs:

OK

Applies the settings and closes this dialog.

Cancel

Cancels the settings and closes this dialog.

Help

Displays this help document.

General tab

This tab shows some general information of the crosstab. See the tab.

Name

Specifies the display name of the crosstab, which will be shown on the shortcut menu of the crosstab.

Position

Displays the position mode of the crosstab. If the crosstab is directly contained in the report body, a tabular cell, or a text box, its position mode can be modified.

X

Specifies the X coordinate of the crosstab, in inches.

Y

Specifies the Y coordinate of the crosstab, in inches.

Width

Specifies the width of the crosstab, in inches.

Height

Specifies the height of the crosstab, in inches.

Background

Specifies the background color of the crosstab.

To change the color, click the color indicator to access the Select Color dialog and then specify a new color, or input a color string in the format #RRGGBB. If you want to make the background transparent, input Transparent in the text box.

Border tab

This tab shows information about borders of the crosstab. See the tab.

Color

Specifies the color of the borders. To change the color, click the color indicator to access the Select Color dialog and then specify a new color, or input a color string in the format #RRGGBB. If you want to make the border transparent, input Transparent in the text box.

Has Border

Specifies whether or not to show the borders.

Crosstab tab

This tab shows the layout-related information of the crosstab. See the tab.

Horizontal Gap

Specifies the space between the content and left/right edge of a crosstab cell.

Vertical Gap

Specifies the space between the content and top/bottom edge of a crosstab cell.

Block Gap

Specifies the spacing between each part of the crosstab if the crosstab will be split into more than one part.

Boundary Value

Specifies the number of columns in one aggregate cell when the crosstab is displayed horizontally, or rows when displayed vertically.

Row Total on Top

Specifies whether or not to display the Total row in the first row of the crosstab.

Column Total on Left

Specifies whether or not to display the Total column in the first column in the crosstab.

Repeat Column Header

Specifies whether or not to repeat column headings on every page.

Avoid Orphan Header

Sometimes the column header happens to be at the bottom of a page. To keep the column header together with the data in the next page, set this property to true.

Expand Data

Specifies whether or not to enable Page Report Studio users to expand or collapse dimensions in the crosstab.

Suppress Row Header

Specifies whether or not to hide the row headers.

Outside Aggregate Title

Specifies whether or not to place the titles of aggregate fields outside.

Suppress Column Header

Specifies whether or not to hide the column headers.

Table Style

Specifies whether or not to add headers to the Total rows and columns.

Repeat Aggregate

Specifies whether or not to repeat the crosstab for different aggregate fields. For details, see Repeat Aggregate in the JReport Designer User's Guide.

Others tab

You can use this tab to view and configure some miscellaneous settings. See the tab.

Current Row Block Index

Specifies the vertical index of the data block that will be displayed. 0 means the first block index, and 1 the second, and so on.

Current Column Block Index

Specifies the horizontal index of the data block that will be displayed. 0 means the first block index, and 1 the second, and so on.

Items per Row Block

Specifies the number of rows of records in each data block.

Items per Column Block

Specifies the number of columns of records in each data block.

The four properties work together to control the data of the crosstab to be displayed in continuous page mode: Current Row Block Index, Current Column Block Index, Items per Row Block, and Items per Column Block.

TOC Anchor

Specifies whether or not to add the node that represents the crosstab to the TOC tree that is displayed in the TOC Browser.

Suppress When No Records

If true and no records are returned by the report, the crosstab will not be displayed.

Export to XLS

If true, the crosstab will be exported when you save the report result as an XLS file (make sure to check Data Format in the Export dialog).

Export to CSV

If true, the crosstab will be exported when you save the report result as a TXT file with Delimited Format selected.