Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
manideep78
Partner - Specialist
Partner - Specialist

Default Selection for list box

Hi All

How can I select all values in list box by default.?? 

If I select any value in the list box that particular value needs to be selected but If I uncheck the selected option, all values should be selected by default.

any help will be appreciated

Regards,

Manideep

10 Replies
Nicole-Smith

Let's say you wanted to add this functionality to your field Date.  You would do so by adding a trigger to the field like the following:

Example file also attached.

Not applicable

Hi

wouldn't it be simplier to set an action with

Select all possible values  for the field ?

Best regards

Chris

Nicole-Smith

christian juillard -- You're right.  Much simpler.  I completely missed out on that one

manideep78
Partner - Specialist
Partner - Specialist
Author

Thanks Smith

Regards,

Manideep

manideep78
Partner - Specialist
Partner - Specialist
Author

christian juillard - Could you please tell me how it will work? I already implemented that action  with the help of button but could get the result.

Nicole-Smith

Manideep,

It works the same as my example except where I have the "Select in Field" action, you would put "Select Possible" instead.

Not applicable

Here it is

check Sheet properties

chris

manideep78
Partner - Specialist
Partner - Specialist
Author

christian juillard - In your application it gives me the values only I selected. Let me tell you in clear with an example.

Suppose if I have a list box year in which 2004,2005 and 2006 exists. If I select 2004 it will be marked as selected and If I select 2004 and 2005 they both will be selected but I unselect 2004, then all values should be selected. This is not working with your example using Select possible action.

I got this through Nicole Smith example. But here my problem is I having special symbols along with year in year list box. I could not achive this with both examples.

Could you please help me how can I do this?

Regards

Manideep

Not applicable

So if you want the oppositie, use Select excluded values

best regards

Chris