Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
ZoeM
Creator III
Creator III

Grey out Button if selection is not possible

Hi Community.

I am wondering if someone can help me identify how to grey out a button if the selection is not possible/not a valid option from the data.

In the attached example, I would like to have that when a user selects Brazil, only the 'Phones' button is Blue and is selectable, and the other two buttons are grey and not selectable.

Any help rendered will be appreciated.

Thanks.

Zoe-

1 Solution

Accepted Solutions
Nicole-Smith

On each button, you want to add an expression in Enable Condition that looks like this (with Item corresponding to each button):

count({<Item={'Phones'}>}Item) > 0

capture1.JPG

capture2.JPG

capture3.JPG

I've also attached your QVW file back with these expressions entered.

View solution in original post

2 Replies
Nicole-Smith

On each button, you want to add an expression in Enable Condition that looks like this (with Item corresponding to each button):

count({<Item={'Phones'}>}Item) > 0

capture1.JPG

capture2.JPG

capture3.JPG

I've also attached your QVW file back with these expressions entered.

View solution in original post

ZoeM
Creator III
Creator III
Author

One marble above genius! Thanks a lot Nicole and super fast response!