Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Partner
Partner

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
Valued Contributor

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

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.

View solution in original post

4 Replies
ajaykakkar93
Valued Contributor

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

Hi,

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

ajaykakkar93
Valued Contributor

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

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.

View solution in original post

Partner
Partner

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

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
Valued Contributor

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

It was just 15 minutes, thank you.