5 Replies Latest reply: Jan 11, 2016 6:20 AM by Christof Schwarz RSS

    field.selectValues button in sense mockup

      Hi,

      I'm working on a sense mockup where i use customized action buttons.

      in my .js file i've written like the example below. The clearAll button works fine, but not the selectValues. (with this I want to select a specific value in a specific field)

      Any one has an idea of what could be wrong?

       

      ...

      var app1 = qlik.openApp('Mikrosegment.qvf', config);

       

      $('#clear').on('click', function(event) { 

         event.preventDefault(); 

         app1.clearAll(); 

      });

       

       

      $('#Q4').on('click', function() { 
      app1.field('kvartal').selectValues([{qText:"Q4"}], true, true);  

      });

       

      Thanks!

      /Pierre