<?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 Re: Coloring alternate rows in a straight table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888418#M73201</link>
    <description>&lt;P&gt;Try using the P&amp;amp;L Pivot in the Visualization bundle, it will do this automatically&lt;/P&gt;</description>
    <pubDate>Wed, 02 Feb 2022 21:50:27 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2022-02-02T21:50:27Z</dc:date>
    <item>
      <title>Coloring alternate rows in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888389#M73200</link>
      <description>&lt;P&gt;Hi, I would like to know if there is a way to have a background with an alternate row shading.&lt;/P&gt;
&lt;P&gt;I know you can type an expression like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Even&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;RowNo&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN&gt;)),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;rgb&lt;/SPAN&gt;&lt;SPAN&gt;(219,219,219),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;rgb(&lt;/SPAN&gt;&lt;SPAN&gt;255,255,255))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But you have to type it in every measure or field in order to have the whole table with an alternate shading,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm wondering if there is a way to implement that style to the whole table, so every time I add a new measure or dimension, automatically has an alternate shading, or so I don't have to write the expression in all the columns.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 20:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888389#M73200</guid>
      <dc:creator>FranciscoQ</dc:creator>
      <dc:date>2022-02-02T20:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring alternate rows in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888418#M73201</link>
      <description>&lt;P&gt;Try using the P&amp;amp;L Pivot in the Visualization bundle, it will do this automatically&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 21:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888418#M73201</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2022-02-02T21:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring alternate rows in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888458#M73203</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Alternate-row-color-in-table-chart-in-Qlik-sense/td-p/1373473" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Alternate-row-color-in-table-chart-in-Qlik-sense/td-p/1373473&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;=if(Even(RowNO(total))=0,LightBlue(),Green())&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 03:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888458#M73203</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-02-03T03:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring alternate rows in a straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888507#M73209</link>
      <description>&lt;P&gt;If you don't want to do this in every table manually, you should consider doing it by changing your theme.css.&lt;/P&gt;
&lt;P&gt;This are the needed lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;/* -- stragiht tables: odd row white-- */
.qv-object-table .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area table tr:nth-child(even) {
    background: #ffffff
}

/* -- stragiht tables: odd row gray -- */
.qv-object-table .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area table tr:nth-child(odd) {
    background: #EAEAEA
}

/* -- pivot tables: odd row gray -- */
.qv-object-pt .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area pt tr:nth-child(odd) {
	background: #EAEAEA
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;just add them to your theme.css&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 07:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Coloring-alternate-rows-in-a-straight-table/m-p/1888507#M73209</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-03T07:55:26Z</dc:date>
    </item>
  </channel>
</rss>

