## Setting filter options for a field

In JReport Web, when you right-click a field (including DBField, formula, summary and label) 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. If you do not want to show some of the four items for a field, you can set the filter options in JReport Designer as follows.

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

3. Check the items you want to show on the Filter submenu of the field in JReport Web, 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 below:

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

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

Note: In the Filter Options dialog, only when Default is deselected will the rest 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 will be decided by settings in Preferences dialog in JReport Enterprise Server (Preferences > DHTML > Properties > Default Properties > Filter).