Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change the tab color when it is activated.

Hi All,

I have one question on:

How to change the tab color when it is activated.

Can you help me out?

Thanks.

10 Replies
timmarsh
Contributor III
Contributor III

This doesn't quite work, cannot get to unset on exit.

I set 2 colour variables:

let vColHighlight = 'rgb(193,217,255)';
let vColNoHighlight = 'rgb(132,189,220)';

For a sheet, I then use a trigger like this:

Set another variable vViewMode

Set an OnActivate Trigger: set variable vViewMode to be Dashboard

Then in General->Custom Colours, I set the colour

=if(vViewMode = 'Dashboard', $(vColHighlight), $(vColNoHighlight))

However, I can't get the OnLeave Trigger where I set vViewMode to be 0, '' for it to change to vColNoHighlight,

 

I think this might be a good option: https://community.qlik.com/t5/QlikView-App-Development/Setting-active-tab-color/td-p/277965