Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
stascher
Partner - Creator II
Partner - Creator II

Can a widget be used to change sheet title background color?

Hi,

I need to specify each sheet title background color based on the sheet's usage "context"; i.e. the most important sheets would have red title backgrounds, less critical sheets might be green, etc.  Once set, colors don't have to change. 

I'm sure this can be done with an extension object, but that seems like overkill for what I'm trying to accomplish.

Can this be done with a simple widget? Seems to me like 1-2 lines of javascript and/or css could do the trick. 

EX: $("div.sheet-title-container").attribute("background-color","#990000") 

Is this possible or just wishful thinking? 

1 Solution

Accepted Solutions
ajaykakkar93
Specialist III
Specialist III

Loading time for widget & extension will almost be the same.

so if you make a small extension to do the specific task to only change the title style there will be no impact in performance.

Qlik Sense Styler lite from branch is a good option to get additional options.

or can use below extension developed by me.

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

View solution in original post

4 Replies
ajaykakkar93
Specialist III
Specialist III

Hi,

I can help you with this ill try this out & come back to you

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

ajaykakkar93
Specialist III
Specialist III

Loading time for widget & extension will almost be the same.

so if you make a small extension to do the specific task to only change the title style there will be no impact in performance.

Qlik Sense Styler lite from branch is a good option to get additional options.

or can use below extension developed by me.

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

stascher
Partner - Creator II
Partner - Creator II
Author

THanks Ajay,

That does the job. I was thinking of widget as being less development time, but now I don't have to do any development time thanks to you. 🙂

ajaykakkar93
Specialist III
Specialist III

It was just 15 minutes, thank you.

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting