Customizing the field display names

In JReport Web, you can drill around report data, sort report data on certain fields, search a report for some text, and filter the report data using filter conditions. When you perform these operations, you will be working with field mapping names. However, with just the field mapping names, you may find some inconvenience, especially when the field mapping name is obscure. To help you, JReport provides a display name customizing function for you to define the column names as required.

To customize the display names of fields in JReport Designer, follow the below steps:

  1. Open a report set in JReport Designer.
  2. Click Report > Edit Display Name to display the Edit Display Name dialog. See the dialog.
  3. Select a dataset from the Report Dataset drop-down list, and all the fields in the dataset will be shown in the mapping name box.
  4. To make the resource names sorted automatically, check the Auto Sort checkbox.
  5. Specify the display names for the fields in the Display Name column. A formula can be selected as the display name of the field.
  6. Select another dataset and repeat the above steps to edit the display names of fields in it.
  7. Upon finishing, click OK to accept the changes.

Note: If you set the display name of any field to be blank, the field will not be shown in the lists where display names are needed in JReport Web.