Skip to main content

Posts

Showing posts from March, 2014

Post 3: iReport for Java

Datasets and Table component in Jasper Reports Welcome to the Post 3. In previous articles we went through the Introduction of iReports and Building a Simple iReport . In this article, let us add some functionality to our report by adding a table and datasets . Tables plays a very important role in every design , in iReports Tables are used to represent data in an efficient and usefull manner. Most of the time we need to iterate our dynamic data to display the output , in case of iReports this is done by Tables and Datasets . Let’s take a brief look at how to use a Table Component to generate a simple tabular representation of data. The following are the basic steps we will take: Create a saperate Dataset so that we could iterate the data easily . Add a table component to detail band of the report , and set its  basic layout and structure. Put Dataset variables(Fields) in table to generate desired result. Preview the report to see the t