Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to set default selection in list box?

Hi..

  Can any one help me how to set default selection in listbox..

Thaks.

12 Replies
vardhancse
Specialist III
Specialist III

Select the value in list box-.

list box properties->General->Always one selected value(Check box)

ali_hijazi
Partner - Master II
Partner - Master II

or you can add an action to the on activate sheet trigger to select in field;

you select your field and the desired value

if you want to select more than one value you have to put '(' & value1 & '|' & value2 &... & ')'

I can walk on water when it freezes
its_anandrjs

For doing this follow steps

1. Select any value in the list box.

2. Then go to properties and select General >> Always One value selected.

Always One.png

Regards

Aannd

Anonymous
Not applicable
Author

Hi sasi..

  Thanks for your reply..

Its working fine in list box .how we set same property in multibox.

Thanks.

salto
Specialist II
Specialist II

Hi,

Do the next: right clik on that sheet and go to trigger tab.

Then, add action on ActiveSheet, click -->Add-->selection-->select in field

then select the fields above and in search string write the values of the fields.

(From Setting default values in List box)

Hope this helps.

Anonymous
Not applicable
Author

Hi..

Can you give me example ..

Thanks.

vardhancse
Specialist III
Specialist III

Multibox->Properties->Presentation-

Select the field.

Always one selected Value(Check box)

Hope this help you out.

If yes, please mark as correct and close the thread.

multibox.jpg

ali_hijazi
Partner - Master II
Partner - Master II

ok right-click on the sheet and go to trigger tab

click AddAction on the OnActivateSheet Trigger then click on Add Action button

select the SELECTION action type and then select select in field

write down your field name suppose it is F1 then in the search string write down the desired values as such

='(' & value1 & '|' & value2 &')'

then click add action again and write down your second desired field and write the desired values to select by default

I can walk on water when it freezes
alkesh_sharma
Creator III
Creator III

Put a trigger for 'section field' Pass the field name and the value you want it to be selected.

This trigger can be added to the sheet or you can add it to the whole document.