Making simple modifications to report objects

By virtue of JReport Web's powerful ad hoc functions, you can make simple modifications to report objects at runtime while viewing the report in DHTML.

Moving a component and DBFields/labels in it

A component (table, tabular, banded object, chart or crosstab), can be easily moved to a new position. What you need to do is clicking anywhere in the component, then dragging the icon appearing at its upper left corner to the destination. After JReport Web has finished processing, the component will be redrawn in the new location.

Also, the DBFields and labels in a component can be moved. You can use the following two ways to move:

Notes:

Resizing a component and its elements

To resize a component, click anywhere in the component, when the icon appears at its upper left corner, click the icon to select the component, then you will see that it is surrounded by a rectangle with three resizing handles. Point to a handle, when the mouse pointer turns to a double-headed arrow, you can drag the handle to resize the component.

To resize a panel in a banded object, select it and drag the resizing handle to the desired position.

To adjust the width/height of a column/row in a table, point to the right/lower boundary of the column/row, when the mouse pointer becomes a horizontal/vertical double-headed arrow, drag the handle and the width/height of the column/row will change. This will also resize all cells in the column or row.

For a crosstab, you can resize its rows and columns the same as you do with a table.

For a tabular, point to the boundary between two cells and the mouse pointer will become a double-headed arrow, you can then drag the boundary to adjust the size of the related cells.

To change the width and height of a field, click any value of this field to select it, then drag the right or lower resizing handle on its borders to a new position, and the width or height of the field will change. You can also do this for any label.

Notes:

Hiding/showing an object

To hide a component, click on the component, when the icon appears at its upper left corner, right-click on the icon and then select Hide from the shortcut menu.

To show a hidden component, right-click the object containing the component, then on the shortcut menu, select the component name from the Show submenu.

For objects such as text boxes, lists, drop-down lists, fields, and labels, you can also right-click it and then select Hide to hide it, and show it in the same way as for showing a component. Banded panels can also be hidden in this way.

Modifying object properties

JReport Web allows you to modify object properties with the corresponding properties dialog.

For detailed explanation about options in the properties dialogs, refer to the specific topics in JReport Web dialogs.

Deleting an object

An object can be removed from the report if it is no longer required. However, objects that are in a subreport cannot be deleted.