Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
rbartley
Specialist II
Specialist II

Creating a filter pane using API in Mashup

Hi everyone,

I have been happily using the Vizualisation API's create method to create various visualizations on the fly.  However, I notice that the Filter pane (list used to filter the data) is missing from the list of  available visualization types.  Does anyone know whether there is another way of creating a filter pane?

Regards,

Richard

1 Solution

Accepted Solutions
rbecher
MVP
MVP

Having same problem here.

Btw. a simple listbox (not a filterpane) can be created in that way (undocumented):

app.visualization.create('listbox', null, {

      qListObjectDef: {

        qDef: {

            qFieldDefs: ['Month']

        }

      }

  }).then(model => {

    model.show('myDiv')

  })

Astrato.io Head of R&D

View solution in original post

5 Replies
rbecher
MVP
MVP

Having same problem here.

Btw. a simple listbox (not a filterpane) can be created in that way (undocumented):

app.visualization.create('listbox', null, {

      qListObjectDef: {

        qDef: {

            qFieldDefs: ['Month']

        }

      }

  }).then(model => {

    model.show('myDiv')

  })

Astrato.io Head of R&D
rbartley
Specialist II
Specialist II
Author

Thanks Ralf, (and thanks to undocumented features ) that really helped.  I used a slightly different syntax,but the same end result.

app.visualization.create('listbox',["MS"],

    {"title":"MS"}

).then(function(vis){

    vis.show("QV15");

    });

lionking15
Creator
Creator

Do i need to change code for html as well?

oana
Contributor
Contributor

Does anyone know how to create a filter box popup which has the search already active? I am trying to replicate the functionality that qlik has in the tables and in the filter pane and I cannot find a way to make the search always visible. 

oana_0-1596144565422.png

 

Qlikuser09
Creator II
Creator II

Hi when integrating two applications together can I use filter pane from the first application to be used for my secondary application (like a common filter)