cuiweibing Posted August 3, 2006 Share Posted August 3, 2006 Hi,all! I don't know how many the columns exactly is util the user submits a request,how can I come true a dynamic columns in a jasperreport template? Thank you very much!Post edited by: cuiweibing, at: 2006/08/03 05:21 Link to comment Share on other sites More sharing options...
teodord Posted August 3, 2006 Share Posted August 3, 2006 Hi, You could build or modify the report template dynamically using the API, just like shown in the /demo/samples/noxmldesign sample that comes with the project distribution.If you do that, you would also need to compile it on-the-fly after building or modifyinf the JasperDesign object. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
cuiweibing Posted August 7, 2006 Author Share Posted August 7, 2006 Thank you very much, Teodor! DavidPost edited by: cuiweibing, at: 2006/08/07 02:15 Link to comment Share on other sites More sharing options...
broschb Posted July 28, 2008 Share Posted July 28, 2008 thanks, I have actually used the api to modify my jasperDesign object and recompile my report. The question I have is, how to I wrap columns. At times the columns I have, created dynamically from user input, exceeds the width of the page. How to I create new pages at the end of the report for the remaining columns. Crosstabs do something similiar when the columns exceed the width of the page, it prints the remaining columns at the end of the report on new pages. How could I achieve something similiar? thanks, Link to comment Share on other sites More sharing options...
vici4a Posted September 15, 2008 Share Posted September 15, 2008 Hi everyone,I want just to ask you about the dynamic columns, if there is any improvment about creating dynamic reports, or I should do it the way it is replied earlier? The problem is that my report is too big and it will be very hard to implement it all using the api. Is there any way to create it with iReport and then editing some how the text fields or static texts and their position or even remove some of them i it si needed, for example? I will be very pleased if you can answer me soon!Thank you in advance! Link to comment Share on other sites More sharing options...
donclary Posted September 16, 2008 Share Posted September 16, 2008 There is another thread that also has a requirement to show/hide columns based on user input. Can you accomplish what you want by dynamicallly building a parameter list of subreports that is passed to the Master? Each column in your report would need to be a separate subreport. How many columns do you want to display in your report? Link to comment Share on other sites More sharing options...
michelr Posted March 17, 2009 Share Posted March 17, 2009 Hello, please I need change the design(.jrml) in execution time but not working,I dont no why... please ,any body can help me Lemay Code: Post Edited by michel Rodriguez at 03/17/09 03:56Post Edited by michel Rodriguez at 03/17/09 03:57 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now