How to make multiple values as default in a list box (multi check) in Dashboard designer ?

38 views
Skip to first unread message

Purush

unread,
Oct 5, 2011, 11:59:36 PM10/5/11
to InterSystems: DeepSee Community
Hi,

How to make multiple values as default in a multi check list box in
Dashboard designer ?

For eg . In a Year Drop down box , if i give 2009 in the default
value , it's taking it.
But in a multi check list box , by default , i want 2009,2010,2011 to
be checked, how to do that,
I have tried giving the three values as comma(,) separated , it didn't
work .

Kindly provide a solution .

Regards
TP

Delia MacMillan

unread,
Oct 6, 2011, 3:47:36 AM10/6/11
to intersystems-de...@googlegroups.com
Hi TP,

One dashboard example I have uses a caret ^ to separate the list of default values and also defines a 'Store In Variable' (zzMETX). You need both to make the multiple listbox values work.

Hope this helps,

Delia

Hi,

Regards
TP

--
You received this message because you are subscribed to the Google Groups "InterSystems: DeepSee Community" group.
To post to this group, send email to intersystems-de...@googlegroups.com.
To unsubscribe from this group, send email to intersystems-deepsee-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/intersystems-deepsee-community?hl=en.

jimmy none

unread,
Oct 6, 2011, 10:44:44 AM10/6/11
to intersystems-de...@googlegroups.com
Dear TP

   As mentioned by Delia, you could try to put 2009^2010^2011 in the Store in Variable inside the Listbox object and check "Allow multiple select" (if i remember correct). 

Dear Delia
  Just wondering what is zzMETX variable for?

Cheers
Jimmy

Delia MacMillan

unread,
Oct 6, 2011, 11:07:08 AM10/6/11
to intersystems-de...@googlegroups.com

Dear Jimmy and TP,


I meant put the 2009^2010^2011 in the Default Value box as QuickScript values and uses the zzMETX as the Store in Variable. 

 

If you just put the list in the Default Value box the values are highlighted on the dashboard but do not get used for selection unless the Store In Variable is present.  Does that make sense?

 

Regards,


Delia

jimmy none

unread,
Oct 11, 2011, 3:54:22 AM10/11/11
to intersystems-de...@googlegroups.com
Dear Delia

  Ah...you are correct is just the zzMETX that get me confused.Actually zzMETX is a reserve word in DeepSee application. If you plan to use a variable, do avoid variable name start with zz.

Regards
Jimmy

Delia MacMillan

unread,
Oct 11, 2011, 4:18:30 AM10/11/11
to intersystems-de...@googlegroups.com

Dear Jimmy,

 

Thanks for the tip.  Actually the dashboard was developed in Sydney so I’m not sure who chose the variable name, but I will be sure to avoid zz names.

 

Regards

Reply all
Reply to author
Forward
0 new messages