RollinMao Posted June 11, 2007 Share Posted June 11, 2007 Good day to all,As I am researching how flexible this JasperReports can do reports in Java, I came across a query that I cannot find any answers over the net. I understand JasperReports is meant to generate reports that is ready-to-print format and it should be easy to change its format. However, I can do see some dynamic inputs that are created in the JasperReports like textfields and checkbox(with some customisation). My question is does JasperReports support dropdown list or JComboBox with the elements of the list from a database?Thanks in advancing in replying this thread.RegardsYiming Link to comment Share on other sites More sharing options...
szaharia Posted June 11, 2007 Share Posted June 11, 2007 Hi, At this moment the answer is no. As a ready-to-print format, having a value set at the top of an entire hidden list could only enormously increase the size of the generated document. Because report generation is done completely automatic, changing values manually in a combobox is meaningless. You could either programatically generate a separate report for each element in your list, or preset the one desired value for your field in a textfield. HTH,sanda 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