Page 1 of 2
How to increase the width of the combobox?
Posted: Fri Aug 07, 2015 2:50 pm
by Carlos Massam
When I create a combobox using the Web report form, it displays the combo box always with the same width (see picture on the link below).
There is how to increase the width of the combobox?
https://dl.dropboxusercontent.com/u/340 ... mbobox.png
Re: How to increase the width of the combobox?
Posted: Mon Aug 10, 2015 6:56 am
by Vladimir
Hello,
You can increase the width of the dropdown list using the following style:
Code: Select all
<style>
table.dropDownMenu {
width: 400px !important;
}
</style>
Thank you.
Re: How to increase the width of the combobox?
Posted: Mon Aug 10, 2015 1:26 pm
by Carlos Massam
Hello!
It turns out the form and combobox are automatically generated, because I'm using variables (as can be seen in the image link below).
When I use variables, the report automatically creates the form and the combo box.
Where should I add this up your code?
https://dl.dropboxusercontent.com/u/340 ... rt_web.png
Re: How to increase the width of the combobox?
Posted: Mon Aug 10, 2015 7:02 pm
by HighAley
Hello, Carlos.
Previously you sent us a screen-shot where you use StiWebViewer. So you should use this style on the ASPX page.
If you need to change request from user in any other Viewer or Designer, please, specify which one you use.
Thank you.
Re: How to increase the width of the combobox?
Posted: Tue Aug 11, 2015 5:37 pm
by Carlos Massam
Sorry, maybe I have expressed myself badly and then you do not understand me.
I developed the Form and the Combobox in my report like this video at the link below.
In the video we can see that has a combo box, where it is possible to select the country. My question is how to increase the width of this Combobox.
https://youtu.be/GllL2MTuues
Re: How to increase the width of the combobox?
Posted: Wed Aug 12, 2015 6:56 am
by HighAley
Hello.
The name of the form is Request From User Panel.
The answer depends on Viewer that you use.
Could you specify where do you need to set the Width?
Thank you.
Re: How to increase the width of the combobox?
Posted: Wed Aug 12, 2015 4:59 pm
by Carlos Massam
Hello.
I made one edition in the Paint than I need. Below you'll see two image. Before and after. The "Before" shows how're leaving today. The "After" shows what I need to do.
Before:
https://dl.dropboxusercontent.com/u/34040351/before.png
After:
https://dl.dropboxusercontent.com/u/34040351/after.png
Thanks.
Re: How to increase the width of the combobox?
Posted: Thu Aug 13, 2015 10:07 am
by HighAley
Hello, Carlos.
As we wrote before you could do this next way:
Vladimir wrote:You can increase the width of the dropdown list using the following style:
Code: Select all
<style>
table.dropDownMenu {
width: 400px !important;
}
</style>
Thank you.
Re: How to increase the width of the combobox?
Posted: Thu Aug 13, 2015 6:12 pm
by Carlos Massam
Hello.
Sorry to ask, but in that part of the report I should add this code?
Thank you.
Re: How to increase the width of the combobox?
Posted: Fri Aug 14, 2015 6:10 am
by HighAley
Hello, Carlos.
You should add this style to a ASPX page the Viewer is placed.
Thank you.