<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can you add color to List Box items with expression ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779367#M276233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a List Box, that draws fields/data from a SQL database. I would like each lines background color to reflect a certain condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (field &amp;gt; 200 and field &amp;lt;= 100,rgb(255,47,47),&lt;/P&gt;&lt;P&gt;if (field &amp;gt; 100 and field &amp;lt;= 50,rgb(144,23,56),&lt;/P&gt;&lt;P&gt;if (field &amp;gt; 50 and field &amp;lt; 0,rgb(23,147,101),&lt;/P&gt;&lt;P&gt;rgb(5,5,5))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make this work and where must I place this ? I placed this in expressions and in presentation(color -&amp;gt; calculated) but the colors don't show up. If I add it in the expression, then I do get a colom that prints out the correct rgb(?,?,?).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 12:45:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-19T12:45:24Z</dc:date>
    <item>
      <title>How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779367#M276233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a List Box, that draws fields/data from a SQL database. I would like each lines background color to reflect a certain condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (field &amp;gt; 200 and field &amp;lt;= 100,rgb(255,47,47),&lt;/P&gt;&lt;P&gt;if (field &amp;gt; 100 and field &amp;lt;= 50,rgb(144,23,56),&lt;/P&gt;&lt;P&gt;if (field &amp;gt; 50 and field &amp;lt; 0,rgb(23,147,101),&lt;/P&gt;&lt;P&gt;rgb(5,5,5))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make this work and where must I place this ? I placed this in expressions and in presentation(color -&amp;gt; calculated) but the colors don't show up. If I add it in the expression, then I do get a colom that prints out the correct rgb(?,?,?).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779367#M276233</guid>
      <dc:creator />
      <dc:date>2014-11-19T12:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779368#M276234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think it is possible by line by line color in the list box,but you can add background color to the list box,find the attached application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779368#M276234</guid>
      <dc:creator />
      <dc:date>2014-11-19T12:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779369#M276235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/98105"&gt;Change the text color in list box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779369#M276235</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-19T12:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779370#M276236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/155731"&gt;anbu cheliyan&lt;/A&gt; that is for the text color. I want to change the individual background of each line to show either red, green, amber, yellow. The text background color itself, not the text font color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's suppose to be a dashboard with these data displayed and the severity should be indicated by each items background color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779370#M276236</guid>
      <dc:creator />
      <dc:date>2014-11-19T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779371#M276237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/173493"&gt;Bhawna Gupta&lt;/A&gt;&amp;nbsp; Would you say I could achieve this by using a Table Box , instead of a List Box ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779371#M276237</guid>
      <dc:creator />
      <dc:date>2014-11-19T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779372#M276238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/12723"&gt;how to change background colour of a list box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779372#M276238</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-19T13:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779373#M276239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anbu, that's the idea !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I click on an item, THEN it shows the colors in background, but not when all items are shown in the List Box ... only a matter of seconds now ! Thanks for the help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779373#M276239</guid>
      <dc:creator />
      <dc:date>2014-11-19T13:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can you add color to List Box items with expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779374#M276240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I managed to do the following : Created a Straight Table Chart, added the code into background expression under the designated main expression. thanks for all the help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-you-add-color-to-List-Box-items-with-expression/m-p/779374#M276240</guid>
      <dc:creator />
      <dc:date>2014-11-19T13:38:22Z</dc:date>
    </item>
  </channel>
</rss>

