<?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 Add Background Color to Few Columns of A Straight Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-Background-Color-to-Few-Columns-of-A-Straight-Table/m-p/2018251#M84079</link>
    <description>&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;I am new to QlikSense development and would need your help and guidance in getting a formatting requirement achieved on a straight table in the Dashboard. I have a few columns, the headers for which needs to be colored differently (see attachment).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below CSS code to get the headers colors, but when I scroll to the right (since the columns are pretty wider), the colors are getting moved dynamically based on the number of columns moved. Is there a way to keep it static ?&lt;/P&gt;
&lt;P&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(2) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(3) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(4) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(5) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(6) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(7) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(8) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(9) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(10) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(11) {&lt;BR /&gt;background-color: #ddff99;}&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palahyd_0-1671486208411.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96539i3906C09A7388D7CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palahyd_0-1671486208411.png" alt="palahyd_0-1671486208411.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 21:43:36 GMT</pubDate>
    <dc:creator>palahyd</dc:creator>
    <dc:date>2022-12-19T21:43:36Z</dc:date>
    <item>
      <title>Add Background Color to Few Columns of A Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Add-Background-Color-to-Few-Columns-of-A-Straight-Table/m-p/2018251#M84079</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;I am new to QlikSense development and would need your help and guidance in getting a formatting requirement achieved on a straight table in the Dashboard. I have a few columns, the headers for which needs to be colored differently (see attachment).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below CSS code to get the headers colors, but when I scroll to the right (since the columns are pretty wider), the colors are getting moved dynamically based on the number of columns moved. Is there a way to keep it static ?&lt;/P&gt;
&lt;P&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(2) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(3) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(4) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(5) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(6) {&lt;BR /&gt;background-color: #e5d094;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(7) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(8) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(9) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(10) {&lt;BR /&gt;background-color: #ddff99;}&lt;BR /&gt;.qv-object-content-container .qv-object-content table th:nth-of-type(11) {&lt;BR /&gt;background-color: #ddff99;}&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palahyd_0-1671486208411.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96539i3906C09A7388D7CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palahyd_0-1671486208411.png" alt="palahyd_0-1671486208411.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 21:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-Background-Color-to-Few-Columns-of-A-Straight-Table/m-p/2018251#M84079</guid>
      <dc:creator>palahyd</dc:creator>
      <dc:date>2022-12-19T21:43:36Z</dc:date>
    </item>
  </channel>
</rss>

