Add empty item to user variable combobox
-
- Posts: 32
- Joined: Fri Dec 07, 2012 1:40 pm
Add empty item to user variable combobox
Hi,
we are using a variable to allow the user to filter the report output. The content of the variable is provided by a datasource (category with name and id). Everything works fine, but we found no possibility to implement "show all categories". So the question is: is it possible to programmatically add an empty item to the combobox of the variable?
we are using a variable to allow the user to filter the report output. The content of the variable is provided by a datasource (category with name and id). Everything works fine, but we found no possibility to implement "show all categories". So the question is: is it possible to programmatically add an empty item to the combobox of the variable?
Re: Add empty item to user variable combobox
Hello,
Unfortunately, it is not possible for variable with values from datasource.
Please try to add the additional boolean variable for show all records - http://web.stimulsoft.com/View/Reports/ ... ingCountry
Thank you.
Unfortunately, it is not possible for variable with values from datasource.
Please try to add the additional boolean variable for show all records - http://web.stimulsoft.com/View/Reports/ ... ingCountry
Thank you.
-
- Posts: 32
- Joined: Fri Dec 07, 2012 1:40 pm
Re: Add empty item to user variable combobox
Hi,
I know this, but we have 5 variables, if we now have to add 5 addional checkboxes, there is no room left for the report.
I know this, but we have 5 variables, if we now have to add 5 addional checkboxes, there is no room left for the report.
Re: Add empty item to user variable combobox
Hello.
As a way you could set the type of the variable to List. Then it will be possible to make multiple selection.
You could get more information in the Using variables to output lists section of the Dynamic SQL queries article in our Blog.
You could also try to use next option:
Thank you.
As a way you could set the type of the variable to List. Then it will be possible to make multiple selection.
You could get more information in the Using variables to output lists section of the Dynamic SQL queries article in our Blog.
You could also try to use next option:
Code: Select all
StiOptions.Viewer.RequestFromUserElementsPerColumn = 5;
-
- Posts: 32
- Joined: Fri Dec 07, 2012 1:40 pm
Re: Add empty item to user variable combobox
Thanks for the information, that helps a lot to show all variables in a acceptable way
Re: Add empty item to user variable combobox
Hello.
We are glad to help you.
Let us know if you need any additional help.
Thank you.
We are glad to help you.
Let us know if you need any additional help.
Thank you.