#### Going

In a DHTML report, you can select to show certain groups of records in a banded object according to your requirements. You can also switch among the groups to see the data you want. This action is called going, which divides into go-to, go-up, go-down, and go-to-detail, as indicated in the diagram.

- Go-to
  The go-to action allows you to switch the data presented in a banded object from any group to any other group.
- Go-up
  Go-up means to jump up one group level to show the records of a particular group.
- Go-down
  Go-down means to jump down one group level to show the records of a particular group.
- Go-to-detail
  Go-to-detail allows you to concentrate on the details of a group.

Going actions are available only for banded objects that contain groups, and fields in which have not been converted to cube elements of a report cube. Going actions do not apply to banded objects created in JReport Web. After a going action has been performed, the data presented in the banded object will be re-loaded from the data buffer, showing only the records in the selected group, and the new report created by going can also be viewed, printed, and exported to other format in the same way as the original report. In addition, a "going path", which tracks the going action, will be displayed in the Go To drop-down list on the navigation bar, with which you can easily return to the original report.

The following describes the use of the going actions based on Banded Link.cls in the SampleReports folder of Public Reports, which contains a standard banded report.

##### Go-to

1. Run Banded Link.cls. See the report.

2. Point to the region APAC, right-click and select Go To > APAC > Vietnam from the shortcut menu. See illustration.

   Then only the data about Vietnam is displayed. See the result.

3. To return to the original status, right-click any value and then click Go To > ROOT on the shortcut menu; or from the Go To drop-down list on the navigation bar, select Product Sales by Country.

You may notice that the result is not dependent on what you right-clicked, in other words, you can right-click any field value in the banded object or even the blank part of a group header/footer panel or detail panel, in order to perform a go-to action.

##### Go-up

For a go-up action, you need to right-click a group header/footer panel or any object in the panel, at the same time, you should make sure that this group level is lower than some other group levels.

1. Undo the go-up action in the above example.
2. Point to any country, for example China, right-click and select Go Up > LATAM from the shortcut menu. See illustration.

   Then only the data about LATAM is displayed. See the result.

At Step 2, you may find that items listed on the Go Up submenu are regions of the Region group level which is one level higher than the current group level - Country. That is, the go-up action allows you to focus your attention on the groups of a higher level than what you right-click.

##### Go-down

For a go-down action, you need to right-click a group header/footer panel or any object in the panel, at the same time, you should make sure that this group level is higher than some other group levels.

1. Undo the go-up action in the above example.
2. Point to APAC, right-click and select Go Down > Singapore from the shortcut menu. See illustration.

   Then data about Singapore is displayed. See the result.

At Step 2, you may find that items listed on the Go Down submenu are countries of the Region group level which is one level higher than the group level of Country, and only countries in the Asia Pacific (APAC) region are displayed. That is, the go-down action allows you to focus your attention on the groups of a lower level than what you right-click, and only those lower-level groups which are related with the higher-level group value you right-click will be concerned.

##### Go-to-detail

If a banded object contains group information, then a field, label, image or map in a group header/footer panel of the banded object can be used to obtain information of that group, and a chart in a banded object also has the similar function. The go-to-detail action should be predefined at report design time. You can refer to Obtaining detailed information from a banded object in the JReport Designer User's Guide for more information.

1. Undo the go-down action in the above example.
2. Point to LATAM, right-click and select Go to Detail from the shortcut menu.

   Then only the data about this region is displayed. See the result.