Managing data of a banded object

With JReport Designer, you can group, sort, and filter data in a banded object easily so as to organize data in the banded object in a more readable way. The operations for setting group, sort and filter conditions for a banded object are similar to those for a table, so you can refer to the following topics on table for details:

Note: When a banded object is created on an HDS, even though you can define some filter conditions on the banded object via the Format Filter dialog, the conditions will not be applied when the banded object runs due to the specialty of HDS. However, if you want to narrow down the data displayed in such kind of banded objects, you can make use of the dataset filter.

In addition, you can insert a web control, Expand/Collapse Group, to the group header panel of a banded object so that end users in Page Report Studio can use the web control to expand/collapse records in groups of the banded object. Note that, this feature works only in continuous page mode.

To insert to a Expand/Collapse Group web control in a banded object:

  1. Make sure to uncheck the Page Layout command on the View menu.
  2. Select the group header panel, then do one of the following:
  3. Click on the group header panel, and the web control will be inserted there.

After publishing the report to JReport Server and run it in Page Report Studio, end users will be able to use the web control which appears like a plus or minus sign to expand or collapse a group (i.e., to show or hide the details of that group). Furthermore, you can use two properties of a group panel to set the expanding/collapsing state of all groups in the corresponding group level. That is, the Expand Detail Data property controls whether or not to expand the groups, and the Shrink Footer property controls whether or not to hide the group footer panel when collapsing the group.