### Crosstab Properties dialog

This dialog contains four tabs as listed below. Specify the settings in each tab to suit your requirements.

- General tab
- Border tab
- Crosstab tab
- Others tab

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.

- Absolute: The crosstab's position will be decided by its X and Y property values.
- Static: The crosstab will be positioned at the default location in its container.
- Relative: The crosstab will be positioned according to its default location and the X and Y property values.

X

Specifies the X coordinate of the crosstab.

Y

Specifies the Y coordinate of the crosstab.

Width

Specifies the width of the crosstab.

Height

Specifies the height of the crosstab.

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.

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 aggregate fields in one row/column.

Row Total on Top

Specifies whether or not to display the Total rows for each column on the top of the crosstab.

Column Total on Left

Specifies whether or not to display the Total columns for each row in the first column in the crosstab.

Repeat Row 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, check this checkbox.

Expand Data

Specifies whether or not to enable JReport Web users to expand or collapse dimensions in the crosstab.

Suppress Row Header

Specifies whether or not to suppress 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 suppress 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.

#### Others tab

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

Current Row Block Index

Specifies the row index of data block.

Current Column Block Index

Specifies the column index of data block.

Items per Row Block

Specifies how many data blocks in the row direction should be split.

Items per Column Block

Specifies how many data blocks in the column direction should be split.

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 (checked) and no records are returned by the report, the crosstab will not be displayed.

Export to XLS

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

Export to CSV

If true (checked), the crosstab will be exported when you save the report result as a TXT file with Standard Data Format selected.