Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rotero
Creator
Creator

how to enable a button that is disable by default

Hi,

Im tinkering in my QV  and im thinking how to enable a button Ex with an action of CLEAR ALL,

then there is at least 1 filter field,,,, so if here is no filter applied this button is disable or inivible

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Button.png

or to hide it completely

Button2.png

View solution in original post

7 Replies
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi ruby ,

             if ( Count(getcurrentselections())>0,1,0) this expression apply in show contion of Button.

regards,

A.Perumal

its_anandrjs

Hi,

I think you need to set some variable setting for the button like vSetvariable=0 else vSetvariable=1 to disable and enable the button this should be done on the Show -> Conditional option.

Regards,

Anand

rotero
Creator
Creator
Author

when in type this to

Enable condition field under General Tab (properties of Button) and click appy.. there is a problem by closing the whole window of QV

rotero
Creator
Creator
Author

is there any screen shot i cant find where i could set this

tnx

its_anandrjs

Hi.

You need to set this in the properties of the opject and on the layout tab you need to set it.

Regards,

Anand

johnw
Champion III
Champion III

Button.png

or to hide it completely

Button2.png

rotero
Creator
Creator
Author

sorry for late reply.. we have a long weekend....

and wow thanks for your reply....

im enjoying this QV.. hopefully i finished the free training in designer and developers track....