BackPrevious Page Next PageNext

Setting Filter Options for an Object

In Page Report Studio, when you right-click a field (including DBField, formula and summary) or a filterable label in a banded object or table, you will find the Filter submenu. This submenu can list items such as Remove Filter, Top N, Bottom N, and More. With these menu items you can easily filter the records. While if you do not want to show some of the four items for a field or filterable label, you can set the filter options in JReport Designer as follows.

  1. Select the field or label and locate its Filter Options property in the Report Inspector.
  2. Click Choose button to bring out the Filter Options dialog.

    Filter Options dialog

  3. Check the items you want to show on the Filter submenu of the field in Page Report Studio, and then click OK.
  4. The properties value will be generated, equal to sum of values of those selected items. The items and corresponding values when checked are as follows:

    Remove Filter: 1
    Top N: 2
    Bottom N: 4
    More: 8
    Default: 16

  5. After saving the page report and publishing it to JReport Server, you will see the effect.

Note: In the Filter Options dialog, only when Default is deselected will the remaining four checkboxes be enabled. If you check Default, they will be disabled, but their values will still affect the Filter Options property value. If Default is checked (Filter Options >= 16), which items will be displayed on the Filter submenu in Page Report Studio will be determined by settings in the Page Report Studio profile on JReport Server (Profile > Customize Profile > Page Report Studio > Properties > Default > Filter Menu).

BackPrevious Page Next PageNext