Print tables dynamically using JasperReport
I have a scenario, in which I need to display a table rows dynamically. Suppose one product is listed in 3 states, second in 5 states and third in no state. Based on the product selected, I need to show the details in a table such that, if I choose first product, the details should display in a table with 3 rows, table with 5 rows for second and no table should display for the third product. The report needs to be exported in PDF. How can I do it?
Can a report be created without a .jasper or .jarxml file?
|