BackPrevious Topic Next TopicNext


A tabular is a component designed to lay out other components. Unlike a table component which is used to display a dataset, a tabular is a set of cells that can each display a dataset in a component.

Tabulars are not supported in library components and page reports that are created using business views. A web report is initially a tabular with a single cell, and you cannot insert another tabular into a web report.

This topic includes the following sections:

See an example: The SampleComponents catalog, included with Logi Report 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.

Inserting a Tabular in a Report

A tabular can be inserted in the page report areas listed in Component Placement.

To insert a tabular into a page report, use either of the following ways:

  • Using dialog
    1. Position the mouse pointer at the destination where you want to insert the tabular.
    2. Select Insert > Tabular or Home > Insert > Tabular. The Insert Tabular dialog appears.

      Insert Tabular dialog

    3. Specify the number of rows and columns, and the border width and tabular width as required.
    4. Select the OK button to close the dialog.

      If the mouse pointer is in the report body or a cell of another tabular, the tabular will be inserted there upon selecting OK. Otherwise, you need to select the mouse button in the desired location to place the tabular there.

  • By dragging and dropping

    From the Components panel, drag the Tabular button Tabular button to the desired location in the report which allows the insertion of a tabular, and a tabular with two rows and columns by default will then be created there.

Back to top

Inserting Components into a Tabular

This image notes any new content for version 17 of the product. For more information please see the Release Notes or What's New topics.The components that can be inserted into a tabular cell are listed in Component Placement. The most common component to place into a tabular cell is a data component, and it is usually best to only place one single data component into one tabular cell. When you insert a component whose default size is bigger than that of the tabular cell, the component will fit into the cell by default. If you place multiple components into one cell you should make sure their Position property is static, so that the components will flow one after another and will not overlap. Then at runtime,

  • For tabulars in a page report, the cell will expand vertically to whatever length the data component in it grows to. For example placing a crosstab in a cell followed by a chart, the crosstab can grow in length based on the data. As long as they are in separate cells they will not overlap.
  • For the web report tabular, scrollbars will be added for the data component if it cannot be fully displayed in a tabular cell.

This image notes any new content for version 17 of the product. For more information please see the Release Notes or What's New topics.For the components inserted in tabular cells, you can drag and drop them to other cells, however if you are working with tabulars in page reports, to move the tables, crosstabs, charts, banded objects and tabulars in the tabular cells, you need to first change their Position property to Absolute. When moving a component around or resizing a component, if you would like its parent tabular cell to be enlarged with it accordingly, press the Shift key at the same time, then the cell will expand to the right or to the bottom if the component exceeds the right or bottom border of the cell. The expansion of the cell will stop when it meets the right or bottom border of the adjacent cell.

Besides inserting components, you can also double-click a tabular cell and type text in it as you would do in a text box. When you type text into a tabular cell, paragraphs are created. You can format the text and paragraphs in a tabular cell easily. 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 details, refer the specific topics in Text Boxes.

Back to top

Merging and Splitting Tabular Cells

In a tabular, adjacent cells that form a rectangle can be merged into one cell.

  • To merge adjacent cells, select them, right-click and select Merge from the shortcut menu, or select Home > Merge. These cells will then be merged into one cell.
  • To split a cell:
    1. Right-click the cell and select Split from the shortcut menu, or select Home > Split.
    2. In the Split Cell dialog, check whether the cell will be split into rows or columns, and then specify how many rows/columns the cell will be split into.

      Split Cell dialog

    3. Select OK, and the cell is then split according to your selection.

Back to top

Resizing, Inserting, and Deleting Columns/Rows in a Tabular

  • To resize a column/row of a tabular, drag the right/bottom boundary of the column/row until the column/row is the width/height you want. If the boundary is not the rightmost/last one, the column width/row height will change, but the total width/height of the tabular will not change. If you want to change both the column width/row height and the tabular width/height, press the Shift button on the keyboard while dragging.
  • To insert a column/row into a tabular, select a cell and right-click it. On the shortcut menu, select the corresponding inserting column/row item and a column/row will then be inserted according to your selection.
  • To delete a column/row from a tabular, select all the cells in this column/row, right-click, and then select Delete Column/Delete Row from the shortcut menu.

Back to top

BackPrevious Topic Next TopicNext