To change the number of columns in the report, we need to click on Edit | Report
properties , and then click on the Columns tab around the middle of the window.
For this example, we will modify the report so that it has two columns, 265 pixels in
width, with 5 pixels spacing between them. By using this layout, each column would
take approximately half of the page, which should be enough for our needs.
Next, we need to move the static text in the page header to the column header band,
and resize the fields so that they fit in the new, narrower width of the columns. Since we
resized the column header band to a height of 0 earlier, we can't expand it graphically.
We can only expand it by modifying the generated JRXML template directly. This can
be accomplished by clicking on Edit | XML Source and editing the value of the height
attribute of the <band> element inside the <columnHeader> element.
Selecting an Appropriate XML Editor
By default, iReport comes configured to use notepad as its
XML editor. Notepad is not the best editor to use for XML
editing, and it is only available on Windows workstations.
To modify the default XML editor, we need to go to
Options | Settings , then click on the External programs
tab, and then type or select an editor to use in the External