<?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 Table rows in two colors alternating in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497853#M102795</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;Is there a way to display table rows in two colors, similar to the attached Excel version? (The color is unimportant)&lt;/P&gt;
&lt;P&gt;I would be very grateful for any help.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 10:02:10 GMT</pubDate>
    <dc:creator>Zeta</dc:creator>
    <dc:date>2024-12-13T10:02:10Z</dc:date>
    <item>
      <title>Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497853#M102795</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;Is there a way to display table rows in two colors, similar to the attached Excel version? (The color is unimportant)&lt;/P&gt;
&lt;P&gt;I would be very grateful for any help.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 10:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497853#M102795</guid>
      <dc:creator>Zeta</dc:creator>
      <dc:date>2024-12-13T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497858#M102799</link>
      <description>&lt;P&gt;Hello, use this formulas in dimension and expression cell background-color&lt;/P&gt;
&lt;P&gt;if(mod(RowNo(),2)=0,RGB(192,230,245),white())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 10:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497858#M102799</guid>
      <dc:creator>RégisBer</dc:creator>
      <dc:date>2024-12-13T10:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497892#M102807</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do this by expressing the background color of each column with rowno() and mod(), as mentioned by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138824"&gt;@RégisBer&lt;/a&gt;&amp;nbsp; this will color your rows&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;if(mod(rowno(total),2)=0,'YourColor')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This will give you the result, but it may not be what, it will interfere with your dynamic sorting on your table columns&lt;/P&gt;
&lt;P&gt;Another example would be the use of CSS, in the Multi KPI chart of custom objects, style tab&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[data-tid="qv-st-row"]:nth-child(odd) {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;background-color: #EAEAEA;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The point for this use is that it will not interfere with your dynamic classification, but if there are other tables also in this application, it will receive this customization.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Regards, Matheus&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 18:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497892#M102807</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-12-13T18:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497904#M102812</link>
      <description>&lt;P&gt;Thank you for the solution, but if I use this formula in Data -&amp;gt; Columns -&amp;gt; "Background color expression" the table can no longer be sorted by a measure column.&amp;nbsp;Therefore, unfortunately, I cannot apply this solution.&lt;/P&gt;
&lt;P&gt;How could I solve the problem?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 14:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497904#M102812</guid>
      <dc:creator>Zeta</dc:creator>
      <dc:date>2024-12-13T14:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497914#M102816</link>
      <description>&lt;P&gt;The alternative seems to have already been informed above by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149113"&gt;@MatheusC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 14:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497914#M102816</guid>
      <dc:creator>Escudeiro</dc:creator>
      <dc:date>2024-12-13T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497945#M102818</link>
      <description>&lt;P&gt;Thank you for the details on the sorting function. This should work in my case too. Unfortunately, the way the multi KPI is displayed is visually very unattractive. Is there no solution in the table chart?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 16:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497945#M102818</guid>
      <dc:creator>Zeta</dc:creator>
      <dc:date>2024-12-13T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497953#M102821</link>
      <description>&lt;P&gt;The graphical solution would be the one presented with rowno(), Using Rowno() causes the sorting to be lost, hence the use of CSS.&lt;BR /&gt;&lt;BR /&gt;In the case of Mult KPI, regarding visualization, you could try customizing the Backgroud color of the KPI graph itself and scaling the size in a way that makes it presentable.&lt;BR /&gt;&lt;BR /&gt;However, these are currently the suggestions presented.&lt;BR /&gt;&lt;BR /&gt;- Regards, Matheus&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 18:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497953#M102821</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-12-13T18:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table rows in two colors alternating</title>
      <link>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497957#M102824</link>
      <description>&lt;P&gt;I did a quick test and I created a theme with no properties in it besides an entry in css. I believe this will use the default theme for all the other colors and properties.&lt;/P&gt;
&lt;P&gt;The line I added in the css sets the alternate row colors. there are other properties you can set too but you'll have to inspect the objects in your browser dev tools to figure out the properties you want to manipulate.&lt;/P&gt;
&lt;P&gt;This is the css code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tr.qv-st-data-row.ng-scope {
    background-color: #00d3ff1c;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will admit I'm not exactly sure how this alternates rows since there is no conditional evaluation&amp;nbsp; but I imagine if I inspected the page a bit more closely I'd figure it out.&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 19:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-rows-in-two-colors-alternating/m-p/2497957#M102824</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2024-12-13T19:48:05Z</dc:date>
    </item>
  </channel>
</rss>

