Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Add a scroll bar to a parameter list when executing a report(Report parameter selection list)
Add a scroll bar to a parameter list when executing a report [message #545535] Thu, 08 July 2010 08:18 Go to next message
Adriana N is currently offline Adriana NFriend
Messages: 4
Registered: July 2010
Junior Member
Hello,

For my report I have a parameter which maps some element description. This description sometimes has more than 20 characters and it is difficult to see it in the parameter selection list.

There is a way I can configure this list to add a scroll bar and to specify a higher size?


Thanks for your help
Adriana
Re: Add a scroll bar to a parameter list when executing a report [message #545894 is a reply to message #545535] Fri, 09 July 2010 14:29 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Adriana,

The code that is used to create the drop down is located in the
viewer(plugin in designer/or deployed viewer). You can look at it in
Deployed App
ExampleWebViewer\webcontent\birt\pages\parameter
in Designer
eclipse\plugins\org.eclipse.birt.report.viewer_2.6.0.v201006 05\birt\webcontent\birt\pages\parameter


The file is ComboBoxParameterFragment.jsp. It contains a select tag
with all the options. I do not think select tag supports a horizontal
scroll bar, but you may be able to modify the size of the box. You can
also look at the style that is used (birtviewer_parameter_dialog_Select)
in the style.css file located in the
webcontent\birt\styles directory.

Jason

On 7/8/2010 4:18 AM, anitescu@gmail.com wrote:
> Hello,
>
> For my report I have a parameter which maps some element description.
> This description sometimes has more than 20 characters and it is
> difficult to see it in the parameter selection list.
>
> There is a way I can configure this list to add a scroll bar and to
> specify a higher size?
>
>
> Thanks for your help
> Adriana
Re: Add a scroll bar to a parameter list when executing a report [message #546256 is a reply to message #545894] Mon, 12 July 2010 10:05 Go to previous message
Adriana N is currently offline Adriana NFriend
Messages: 4
Registered: July 2010
Junior Member
Thanks Jason,

I didn't think to look in the plugin code Smile

In order to modify parameter list size I edited

eclipse\plugins\org.eclipse.birt.report.viewer_2.5.2.v200912 10\birt\webcontent\birt\styles\style.css

section
* Birt parameter dialog.

and increase the width to 600px.

Adriana
Previous Topic:Subreport needed?
Next Topic:BIRT viewer doesn't work with VPN
Goto Forum:
  


Current Time: Fri Apr 19 00:04:55 GMT 2024

Powered by FUDForum. Page generated in 0.01266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top