0 Replies Latest reply: Aug 17, 2017 7:25 AM by Thorben Ortmann RSS

    Confirm selection event

    Thorben Ortmann

      Hi,

       

      is there some event that tells us when a selection is confirmed by the user pressing the green button with the check symbol in it ?

       

      Context:

      In my extension I want to immitate the qlik selection/filter behaviour exactly. As far as I understand when there is no selection in a visualization this selection behaviour is used:

       

           self.selectValues(dim, [value], true);

       

      But when a slection was confirmed the visualization behaves like this:

       

           self.selectValues(dim, [value], false);


      The boolean Parameter is toggleMode:

      If true, values in the field are selected in addition to any previously selected items.

      If false, values in the field are selected while previously selected items are deselected.

      http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/APIs/Content/ExtensionAPI/selectvalues-method.htm

       

      So based on if a selection was confirmed or not I want to set the value of toggleMode accordingly.

       

      Best regards

      thorben