Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
rbartley
Specialist II
Specialist II

Detecting when Clear Selection has been chosen

Hello all,

I have  been trying to show/hide charts based on which value has been selected from one of the dimensions/lists in the filter pane object.  I have been able to do so when a value is selected by using looping through selections as follows:

$.each(reply.qSelectionObject.qSelections, function(key, value) {

if(field=="Blah")

  {

  selections = value.qSelected;

  ............



  }

}

However, this did not work when the user clears the selections, so I was wondering whether there is a way of detecting when the clear selection is triggered or any other way of dealing with clear selection.

Thanks in advance,

Richard

0 Replies