0 Replies Latest reply: Jan 20, 2017 9:32 AM by Richard Bartley RSS

    Detecting when Clear Selection has been chosen

    Richard Bartley

      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