The use of iReport table control

1. Create a new empty report

2. Drag the table control to the Title or Detail section of the report.

3. Select a Table dataset in the toolbar on the left, right-click Edit Query and enter the SQL statement you want to query.

 

 

4. Switch to the table tab below

5. There are several items of Table Header ColumnHeader Detail ColumnFooter TableFooter in Table, put the content to be displayed repeatedly into Detail.

Like this:

6. Select Table in the toolbar, right-click and select Edit Table datasource and then select the sub dataset you edited.

 

7. This is basically binding. ok can test. Take a look at the results:

Reference URL: http://www.mqney.com/archives/003472.html

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327093721&siteId=291194637