Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get the dropdownlist menu in qliksense

Hi all,

I am trying to create Dropdownlist menu , how to get action perform in the dropdown menu ,once if i select any menu item it will be effected into the sheet ......droupdown.pngReddys310

8 Replies
Anonymous
Not applicable
Author

Not applicable
Author

Hi Balraj,

We have already used the extension about drop down .But we need to create in the extension so for that we need the code to use in the Extension.

reddy-s
Master II
Master II

Hi Sai Madhu,

Use the below case to create a drop down list you are looking for in the extensions properties pane.

Variable: {

                                type: "string",

                                component: "dropdown",

                                label: "List",

                                ref: "Variable",

                                options: [{

                                    label: "Label 1",

                                    value: "A"

                            }, {

                                    label: "Label 2",

                                    value: "B"

                            }],

                                defaultValue: "A"

                            },

Thanks and Regards,

Sangram Reddy.

Not applicable
Author

Hi reddy ,

can give me any example for extensions properties pane.

Thanks and Regards,

Sai Madhu

reddy-s
Master II
Master II

Hi Sai Madhu,

I am so sorry, I am not able to understand what you are asking for. Can you please elaborate?

The code which I have used above will create a drop down list in the properties pane with two drop down values

1) Label 1 - Which has an internal value A

2) Label 2 - Which has an internal value B

Defaulted to Label 1(Value A) .

This code goes into the properties section after the dimensions and measures definition in the hypercube of the extension.

Regards,

Sangram Reddy.

reddy-s
Master II
Master II

The value specified in this drop down has to be used to refer to in your code.

reddy-s
Master II
Master II

Hi Madhu,

Kindly close this thread if your question has been answered.

Thanks and Regards,

Sangram Reddy.

Not applicable
Author

Hi Sangram,

Am also facing the same problem of having a dropdown list in dashboard, ur code is fine but i've tried loading it in data load editor it is showing me error, can you help me where & what code to incorporate