Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible to restrict buttons based on current selection?

Hello,

  I want to restrict a button from being pressed if no selections have been made - is this possible?  Is there a variable I can refernce from the 'current selection' object?

Thanks,

Tyler

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Put this in the enable condition (or in the show condition if you want the button hidden, not just disabled).

len(getcurrentselections())

View solution in original post

2 Replies
johnw
Champion III
Champion III

Put this in the enable condition (or in the show condition if you want the button hidden, not just disabled).

len(getcurrentselections())

Not applicable
Author

Thanks for the quick response John!