Reputation: 125
I had generated a report using ireport Designer v5.1. For generating it i had used jrbeancollection data which is passed from java program .now i want to use this main data source as data set for ireport table.
could any one please help me to know how to do this.
thanking in advance...
Upvotes: 2
Views: 4035
Reputation: 72
Below steps help you to show JRBeanCollection
data in the Jasper report
.
table format
.
JRTable
-
subDataset
from a Java Bean Data source you have created, It will return you the fields which you can use in the table.iReport
palette window drag and drop the Table
. It will open the window and ask you for the dataset. Provide the dataset you have created along with other necessary information.Normal table on report -
Upvotes: 1