How to provide a set of values for report parameter in jrxml template?

I am using Jaspersoft Studio 6.2 to create jrxml/jasper files. And generating and viewing report providing json datasource in my application using JasperReports Library 6.2. I am reading the report parameters and creating input controls in my application for the user to enter the values for respective parameters. Here I am trying to populate input control (e.g. multi-select/single-select drop down) with a values user can select from. Please help me to understand how can i provide dataset of values for a report parameter in jrxml file using Jaspersoft Studio. Or any other way to provide set of values for a report parameter.
narang.rainy's picture
Joined: Sep 16 2015 - 6:04am
Last seen: 7 years 2 months ago

1 Answer:

Not sure about your question. Input Control is not part of jrxml. There is only parameter in jrxml and Input Control is just a front end tool to allow user to set parameter. As such, developer would have to create their own implementation to populate Input Control and user select mechanism.

hozawa's picture
169763
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Feedback
randomness