maferesi Posted August 31, 2010 Share Posted August 31, 2010 Hi, I have to set the width of a textfield dynamically? Max Fernando Link to comment Share on other sites More sharing options...
svenn Posted September 7, 2010 Share Posted September 7, 2010 The only way to do this is to build your JRXML file dynamicly in code and set the width of the field. Then you complie and run you created file. Link to comment Share on other sites More sharing options...
slow Posted September 8, 2010 Share Posted September 8, 2010 take a look to dynamicjasper... http://dynamicjasper.sourceforge.net/ Link to comment Share on other sites More sharing options...
augarte Posted September 8, 2010 Share Posted September 8, 2010 Dynamic Jasper is a good option to create reports dinamically and set the widht of each textfield depending on the value it has. But I think it's not compatible with iReport. I mean, is not possible to create a template with iReport and use Dynamic Jasper to add a dynamic textfield to it (tell me if I'm wrong). Maybe iReport has another feature to set it dinamically but I don't know it. Link to comment Share on other sites More sharing options...
slow Posted September 8, 2010 Share Posted September 8, 2010 from http://dynamicjasper.sourceforge.net/docs/features.htmlJRXML template files support: You can use a base template jrxml file in which common styles, company logo, water mark, etc can be pre defined. JRXML can be created with iReport...you can make some tests to verify it... Link to comment Share on other sites More sharing options...
augarte Posted September 8, 2010 Share Posted September 8, 2010 That is really interesting. Is the first time I hear about mixing both jrxml and dynamic jasper. Here are couple of links that can be interesting: http://dynamicjasper.sourceforge.net/docs/HOWTO%20export%20to%20jrxml.htmlhttp://dj.fdvsolutions.com/forums/viewtopic.php?f=8&t=16Good luck! Link to comment Share on other sites More sharing options...
maferesi Posted September 8, 2010 Author Share Posted September 8, 2010 Thank you all for the replies. I will research and study on the dynamicjasper what appears to be the solution to my problems =] 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