Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2008, 07:00 AM
Registered User
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?


 
Old May 26th, 2008, 02:50 AM
Registered User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

After seeing ur requirement. What I suggest is u need to use sub reports.

got each and every product u need to call the sub report dynamically.






Similar Threads
Thread Thread Starter Forum Replies Last Post
JasperReport to Excel: styledtext for supscript changminding J2EE 0 October 18th, 2006 01:01 PM
Creating HTML tables dynamically dotnet cat ASP.NET 1.0 and 1.1 Basics 1 August 25th, 2005 10:58 PM
Error generating the jasperReport krishnatlk J2EE 0 April 27th, 2005 05:44 AM
Dynamically Link MySQL Tables at Runtime Rational Access 0 June 27th, 2004 09:15 PM
Dynamically create tables vickriz Javascript How-To 8 August 5th, 2003 03:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.