Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
VivenReddy
Partner - Creator
Partner - Creator

listbox entry when data is not present

I've created a listbox that displays 1 checkbox based on the dataset. There are times when the listbox does not display when the value in the table is not present. I'd like the checkbox to appear greyed out when the data is not present. Is this at all possible?

See attached example. Remove inline data for car 5 to test scenario with missing data.

3 Replies
Vegar
MVP
MVP

Try 

load car_id, manufacturer, origin inline [
car_id, manufacturer, origin
1,toyota, japan
2,volvo, sweden
3,bmw, germany
4,honda, japan

6, kia, korea
7, vw, germany
];

//5,cheverolet,usa


LOAD * INLINE [
    origin, Label
    usa, Made in America
];


image.png

See attached qvw

VivenReddy
Partner - Creator
Partner - Creator
Author

Thank you Vegar. However even though the entry in the list box looks greyed out, it still allows  you to make a selection. Is there any way to kind of lock the object so that no selectin can be made when its greyed out.

Vegar
MVP
MVP

Maybe you could try solving it with document triggers, locking the label field if it is greyed out.