Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Catch the Clear Button Hit

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sergey_Shuklin
Specialist
Specialist

Catch the Clear Button Hit

Last Update:

Oct 27, 2017 3:54:47 AM

Updated By:

Sergey_Shuklin

Created date:

Oct 27, 2017 3:54:47 AM

Attachments

Do the followin' if you want to catch User's hit on Clear button.

Also can be usefull with many trigger actions.

Steps:

1. Create a variable vClearButtonHit;

2. Set this expression for it:

=if($(vClearButtonHit)-isnull(GetCurrentSelections())>10,0,$(vClearButtonHit)-isnull(GetCurrentSelections()));

[this condition will increase variable value till it under 10, after that the value will be droped to zero]

3. Make a trigger on changing this variable (Ctrl + Alt + D -> Triggers).

In attached example trigger is set for selecting 'x' value in f3 field on Clear Button hit.

Sometimes it can be usefull and it's an analogue of "One Selected Value" option.

Version history
Last update:
‎2017-10-27 03:54 AM
Updated by: