trueChart Help

How to: Hide/Display QlikSense Panels with MenuBar

Introduction

The below guide will show you how to create buttons that hide/show the QlikSense Title Bar, Selections Bar and Menu Bar. This allows users to present their apps with more screen space for easier viewing and a cleaner interface.

You will Need:

  • You will firstly have to create these variables:

vS_SenseTitleBar= 0

vS_SenseSelectionBar= 0

vS_SenseMenuBar= 0

  • Create a new item, Type: “Button Container“


Button Setup

  • Scroll down and under “Settings” and create two buttons called “Sense Menu” and “Selections”.


  • Expand the “Sense Menu” button and click on “State settings”
  • Select your Icon and on the same screen click on “Actions”.
     

  • Ensure that you insert the exact settings below and click on “Apply”

Name: Set variable, Variable Name: vS_SenseTitleBar, Variable content: =if(vS_SenseTitleBar='0','1','0')

Name: Set variable, Variable Name: vS_SenseMenuBar, Variable content =if(vS_SenseMenuBar='0','1','0')

  • Expand the “Selections” button and click on “State settings”
  • Select your Icon and on the same screen click on “Actions”.


  • Ensure that you insert the exact settings below and click on “Apply”

Name: Set variable, Variable Name: vS_SenseSelectionBar, Variable content: =if(vS_SenseSelectionBar='0','1','0')


  • Expand “Appearance”, then “Display” and select “Optional” for both “Sense Menu Bar” and “Sense Selection Bar”
  • And insert the below settings:

Sense Menu Bar =$(vS_SenseMenuBar)
Sense Selection Bar =$(vS_SenseSelectionBar)


Final Result:

Users will be able to hide/show their Sense panels at the click of a button: