Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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 advance
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
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-
if(listboxname=complaint,red(255),if(listboxname=compliment,green(255)))
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
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.
Hi,
To configure Extension.
have a look at below posts.
http://community.qlik.com/thread/28140
http://www.qlikblog.at/1939/a-comprehensive-list-of-qlikview-object-extensions-012013/
Regards
ASHFAQ
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