The Table and List components are similar to Grids,
except that they are bound to data. Following is the icon used on the development
Palette for the Grid:
Visual Report Components
[ 64 ]
In Chapter 3, we already saw an example of a Table component. We will cover
, these two components more in depth in the next chapter, when we start to cover
data interaction.
In the following exercise, we are going to take a Grid component and use it to
change the arrangement of the elements we already have in our existing Hello World
report. While this won't be the prettiest visual layout around, it will effectively
demonstrate how to interact with the Grid while designing reports, and how it
affects report layout.
1. Open the HelloWorld.rptdesign from the Classic_Cars_BIRT_Reports
project. From the Palette, drag a Grid object over to the Report Designer
pane, just below the Hello World label or the Text object from the
previous exercise.
2. In the Insert Grid Dialog, choose 2 columns and 2 rows and hit OK.
3. Now, in the Report Designer pane, click on the Eclipse Image component and
drag it over to the cell in the first column and first row.
Chapter 4
[ 65 ]
4. Now, to change things up a little, open up the Outline. We are going to look
at manipulating elements using the Outline view instead of using the Report
Designer.
Pages:
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83