Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » More than one default value for Combo/List
More than one default value for Combo/List [message #363930] Mon, 14 July 2008 20:32 Go to next message
Eclipse UserFriend
Originally posted by: brian.w.geary.saic.com

Hello:

I have many list boxes. I would like to make all the values in the
list be selected (default). The user would then need to deselect the ones
they did not want. Currently they need to select all the values before
they can run a report. In most cases they want all of them. I prefer not
to use an alias such as "ALL".

Thanks
Re: More than one default value for Combo/List [message #519883 is a reply to message #363930] Wed, 10 March 2010 11:07 Go to previous messageGo to next message
Michenaud Laurent is currently offline Michenaud LaurentFriend
Messages: 10
Registered: March 2010
Junior Member
Hi,

Did you find a solution ?

Thanks
Re: More than one default value for Combo/List [message #519979 is a reply to message #519883] Wed, 10 March 2010 17:01 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you are using BIRT 2.5.2 you can select multiple default values. So
you can add all the returned values to the default list of selected items.

Jason

Michenaud Laurent wrote:
> Hi,
>
> Did you find a solution ?
>
> Thanks
Re: More than one default value for Combo/List [message #520103 is a reply to message #519979] Thu, 11 March 2010 08:09 Go to previous messageGo to next message
Michenaud Laurent is currently offline Michenaud LaurentFriend
Messages: 10
Registered: March 2010
Junior Member
Hi,

My combo is linked to a dataset.

So, i think that if i had a record in my table, the new value will not be
added automatically in the default values of the combo.

Re: More than one default value for Combo/List [message #520167 is a reply to message #520103] Thu, 11 March 2010 12:08 Go to previous messageGo to next message
Colin Sutton is currently offline Colin SuttonFriend
Messages: 121
Registered: July 2009
Senior Member
Michenaud Laurent wrote:
> Hi,
>
> My combo is linked to a dataset.
>
> So, i think that if i had a record in my table, the new value will not be
> added automatically in the default values of the combo.
>
>
I too would find it useful to be able to use expressions in the default, e.g. where the report
parameter combo shows a dataset of dates, and the default should be the earliest date.
Re: More than one default value for Combo/List [message #520283 is a reply to message #520103] Thu, 11 March 2010 19:56 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

This true. You can set the defaultValueList in the defaultValueList
event like:

var dVLArray = [];
dVLArray[0]= "10104";
dVLArray[1] = "10108";
dVLArray;

This also means you could write your own class to call your db and get
the values and enter it here. I am looking at one more option that I
will detail in a later post if it works out.

Jason


Michenaud Laurent wrote:
> Hi,
>
> My combo is linked to a dataset.
>
> So, i think that if i had a record in my table, the new value will not be
> added automatically in the default values of the combo.
>
>
Previous Topic:JNDI DataSource question
Next Topic:Line Chart and small values ?
Goto Forum:
  


Current Time: Wed Apr 24 22:59:49 GMT 2024

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

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

Back to the top