Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
rbartley
Not applicable

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

Tags (2)