A tabular is a component designed to lay out other components. Unlike a table component, that is used to display a dataset, a tabular is a set of cells that can each display a dataset in a component.
A tabular can be inserted in the report areas listed in Component placement.
To insert a tabular into a report, use either of the following ways:
If the mouse pointer is in the report body or a cell of another tabular, the tabular will be inserted there upon clicking OK. Otherwise, you need to click the mouse button in the desired location to place the tabular there.
From the Toolbox panel, drag Tabular to the desired location in the report which allows the insertion of a tabular, and a tabular will then be created there.
After a tabular has been created in a report, you can then:
You can also customize the tabular appearance and behavior by setting properties in the Report Inspector, which can be saved as a CSS style for future use (for details, see Creating a CSS style).
In a tabular, adjacent cells that form a rectangle can be merged into one cell.
When you enter text into a tabular cell, paragraphs are created. The text and paragraphs in a tabular cell can be easily formatted. For example, you can change the font face, font color of the text, the indentation of any paragraph. You can even find and replace a text string with another one easily as with a word processor. For detail, refer the specific topics in the Text boxes section.
See an example: The SampleComponents catalog, included with JReport Designer, contains reports that have examples of how each component type could be used in a report. For the tabular component example, open <install_root>\Demo\Reports\SampleComponents\TabularReport.cls
.