Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

On Demand Webinar: See Why Thousands of QlikView Users Have Switched to Qlik Sense. REGISTER
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List Box

I have a list box which contains A and B. A represent compliment and B represent complaint

So when i select either of them i want that they are highlighted by different color

lets say

when i select A it should be highlighted by green and when i select B it should be highlighted by red.

thanks in advanceUntitled1.png

15 Replies

How about the attached that does it without extensions or macros ?

Instead it frigs a Straight Table to act like a List Box and sorts the colours using the Dimension Background  / Text Color

Not applicable

If you do not want to use extensions, then you can do the following-

1. Right Click listbox and open properties.

2. Goto presentation tab and click on background

3.click color and apply expression in calculated as follows-


and make sure to change selection style override to other than qlikview classic.

And you may or may not click on HIDE EXCLUDED.

This way you will come to know whether a complement is selected or complaint else use extensions.

Attaching a example

Cheers Saurabh Kabra

Not applicable

thanks everyone.

I can use extension now and i am able to change green into blue.

What and where should i make changes in Nogreen.CSS file so that i can change blue into some other color, if that is possible.




have a look at below post.

Embedding web objects - basic questions



Specialist III
Specialist III

Dear Deepak,

Kindly, find attached updated css file "Nogreen.css".

You can change it according your requirement. Here are the class names where you have to make changes in CSS file.

Replace "background-color:#0099ff;"  to "background-color: #ff0000;"

.QvSelected {

    background-color: #ff0000;

    color: #FFFFFF;


.QvDragRect {

    background-color: #ff0000;

    cursor: pointer;

    opacity: 0.5;

    padding: 0;


Please let me know, if need be.

Kind regards,

Ishfaque Ahmed