fkabinoff / qs-dev-hub-dashboard-template

Dashboard template for Qlik Sense dev hub
29 stars 16 forks source link

Current selection strip not working in Qliksense mashup #11

Open Nike121212 opened 6 years ago

Nike121212 commented 6 years ago

Hello All, I am using this template to create my mashup. But problem is when i checked "Show selection", my "current selection strip" is not working and is not shown. While same is working fine in other server. Can anyone help em in this?

Thanks

brenommb commented 6 years ago

I do this solution: https://community.qlik.com/docs/DOC-20361

dhruv-patel-qlik commented 5 years ago

You need to check "[True] show selection bar" is enable or not, you can find from bottom of the mashup editor.

1) Also, you need to put below code in html if not available in html

<div id="CurrentSelections" class="qvobjects">
                    <div class="current-selections-placeholder">
                        <span>Connect to app to see Selection Toolbar</span>
                    </div>
                </div>

2) Also, you need to put below code in JS file

```

if (app) { app.getObject('CurrentSelections','CurrentSelections'); $(".filter-drawer-toggle, paper-menu paper-item").click(function() { qlik.resize(); }); } else { $(".current-selections-placeholder span").css("display", "inline-block"); } });