Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How can i hide filter options from the Pivot headers,(Highlighted in the attached screenshot)
Is it possible??? If not, please suggest for an alternative pivot to achieve the same ??
You would need to investigate which CSS styling takes precedence. A bit of an ugly but immediate workaround is putting !important to your css style:
.qv-pt-meta-button {
display: none !important
}
AFAIK not possible to hide that. but you can give a valuable name for that like MONTH
Hi Bijoy,
This filtration is the inbuilt property of Qlik Sense. Anyone can't off it or stop it but if you have knowledge of creating extension you can design your own pivot where you can disable this option and customize it by your own way.
Please mark the appropriate replies as CORRECT / HELPFUL so our team and other members know that your question(s) has been answered to your satisfaction.
Hi Rohit,
Thanks for your quick reply.
Actually, I wanted to know whether we can hide this filter from the header of the pivot. In my dashboard, i already have filter for these in generic. So to avoid duplicate filter(to avoid customer confusion) i thought of hiding it.
Regards,
Bijoy
You can achieve this by using a theme and adding the following css part to it:
.qv-pt-meta-button {
display: none
}
Alternatively, if you have other extension objects on the screen just append the following line somewhere in its code:
$('.qv-pt-meta-button').css('display','none')
Hi Martin,
I am interested to proceed with your suggestion.
I tried to append this code in theme.css in the below paths.
C:\Users\<User>\AppData\Local\Programs\Qlik\Sense\Client\themes\sense\theme.css
C:\Users\<User>\AppData\Local\Programs\Qlik\Sense\Client\themes\highvis\theme.css
C:\Users\<User>\AppData\Local\Programs\Qlik\Sense\Client\themes\bleak\theme.css
(QlikSense Version-3)
I think I understood and doing it wrongly.
Can you elaborate ??
You now need to use the theme in the URL URL/theme/themename
e.g.
URL/theme/highvis
But I am current working on Desktop version (So default theme is sense).
I have pasted the above code in all three themes available, it not working.
Do we need to make any other changes??
You would need to investigate which CSS styling takes precedence. A bit of an ugly but immediate workaround is putting !important to your css style:
.qv-pt-meta-button {
display: none !important
}
Cheeky!
Developer's nightmare when debugging but you rightly cautioned.
bijoylalu- Backup the .css file before changing it.