Jump to content
We've recently updated our Privacy Statement, available here ×

How to add combobox to my report in jaspersoft studio?


f.nourazar

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Dear Rajesh,

Thank you for your reponse. I want to create a SortBy parameter on which I can sort my reports based on my columns(my fields in DB). So I've decided

to create a combobox which values are my fields in DB so that I can select my fields to sort my report according to that field. But now I don't know how to

create combobox itself nor how to provide its values.

Link to comment
Share on other sites

Hi Nourazar,

For Sorting, Jaspersoft Studio provides faility to Create Sorting Fields in the "Outline Section". You can cretae a sorting variable on whichever column you want to sort and the report will run on that sorting.

But If you are trying to create a Multi Value Parameter to fetch the data only for the parameter selection, then its a different ball game.

Thanks

Rajesh

Link to comment
Share on other sites

Dear Rajesh,

Hi,

Thanks alot for your help. However, I want to fetch combobox values from database, not manually. For example, set a query(select name from table1) and

then I see all names in combo and.I would be appreciated if you help me.

Link to comment
Share on other sites

Dear Rajesh,

Hi,

Thanks alot for your help. However, I want to fetch combobox values from database, not manually. For example, set a query(select name from table1) and

then I see all names in combo and.I would be appreciated if you help me.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...