<?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: Widget Table with Dynamic Labels in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119472#M5145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of my team members figured out how to add the totals row, credits to Dan Swanda: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table border="1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th ng-repeat="head in data.headers"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{settings.customLabel.split(';')[$index]}}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr ng-repeat="row in data.rows"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td ng-repeat="cell in row.cells"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{cell.qText}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Total&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;td ng-repeat="total in data.totals"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; {{total.qText}}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;lt;/tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2016 17:47:57 GMT</pubDate>
    <dc:creator>pnowicki</dc:creator>
    <dc:date>2016-08-23T17:47:57Z</dc:date>
    <item>
      <title>Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119467#M5140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently trying to create a widget table where I can have dynamic column labels.&amp;nbsp; This is my attempt at a workaround for Qlik Sense's lack of dynamic labels.&amp;nbsp; Has anyone done this before and can share their widget code?&amp;nbsp; If not, I'll keep working to either accomplish within a Widget or an extension.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 18:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119467#M5140</guid>
      <dc:creator>pnowicki</dc:creator>
      <dc:date>2016-08-16T18:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119468#M5141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/221458"&gt;pnowicki&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately you run into the same limitation in Widget as in native objects, the in the data section you cannot define labels by expression.&lt;/P&gt;&lt;P&gt;But I have found a workaround, have a look here: &lt;A href="http://qliksite.io/tutorials/qliksense-widgets-tutorial/recipes/table-with-dynamic-label/" title="http://qliksite.io/tutorials/qliksense-widgets-tutorial/recipes/table-with-dynamic-label/"&gt;Table with dynamic label | qliksite.io&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 19:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119468#M5141</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2016-08-22T19:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119469#M5142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is extremely helpful! In my attempts I also tried using custom fields to input my variables but then had a difficult time positioning them over the columns. This approach solves that problem and it is easy to work with.&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Thanks again for your help Stefan. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 09:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119469#M5142</guid>
      <dc:creator>pnowicki</dc:creator>
      <dc:date>2016-08-23T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119470#M5143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, please mark it as accepted answer then, so that others can more easily find it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 12:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119470#M5143</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2016-08-23T12:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119471#M5144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now all I need to do is add a totals row!&amp;nbsp; To do so, I think I just need to figure out how to calculate a total inside the ng-repeat. I found a code snippet online that I'm currently trying to adapt to the html table provided by Stefan in the link above.&amp;nbsp; Also not sure if this is something that has already been done and is available.&amp;nbsp; See my failed attempt below.&amp;nbsp; If I find a way to get this to work I will post the solution.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current (&lt;EM&gt;not working&lt;/EM&gt;) table with totals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table border="1" &lt;STRONG&gt;ng-init="cell.total = {}&lt;/STRONG&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th ng-repeat="head in data.headers"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{settings.customLabel.split(';')[$index]}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr ng-repeat="row in data.rows"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td ng-repeat="cell in row.cells"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{cell.qText}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;td ng-init="cell.total.amount = cell.total.amount + cell.amount"&amp;gt;{{cell.amount}}&amp;lt;/td&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&amp;lt;td&amp;gt;Total&amp;lt;/td&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;lt;td&amp;gt;{{cell.total.amount}}&amp;lt;/td&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tag" style="color: #7d2727;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tag" style="color: #7d2727;"&gt;&lt;STRONG&gt;Similar request to this thread:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tag" style="color: #7d2727;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/223870" title="https://community.qlik.com/thread/223870"&gt;https://community.qlik.com/thread/223870&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tag" style="color: #7d2727;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 12:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119471#M5144</guid>
      <dc:creator>pnowicki</dc:creator>
      <dc:date>2016-08-23T12:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119472#M5145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of my team members figured out how to add the totals row, credits to Dan Swanda: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table border="1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th ng-repeat="head in data.headers"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{settings.customLabel.split(';')[$index]}}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr ng-repeat="row in data.rows"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td ng-repeat="cell in row.cells"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{cell.qText}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Total&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;td ng-repeat="total in data.totals"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; {{total.qText}}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;lt;/tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 17:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119472#M5145</guid>
      <dc:creator>pnowicki</dc:creator>
      <dc:date>2016-08-23T17:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Table with Dynamic Labels</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119473#M5146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;Very nice workaround!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A tip for other users:&lt;/P&gt;&lt;P&gt;Sometimes the &lt;EM&gt;default&lt;/EM&gt; labels in my datas are alright to use, but if I leave the "Custom labels" field blank, my column names are blank as well.&lt;/P&gt;&lt;P&gt;So I used &lt;A href="http://qliksite.io/tutorials/qliksense-widgets-tutorial/recipes/show-hide/"&gt;another&lt;/A&gt; of Stefans tutorials to add a checkbox which turns the custom labels on (default is off):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;div ng-show="settings.showDetails"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{settings.customLabels.split(';')[$index]}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;div ng-hide="settings.showDetails"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{head.qFallbackTitle}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Widget-Table-with-Dynamic-Labels/m-p/1119473#M5146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-10T09:38:32Z</dc:date>
    </item>
  </channel>
</rss>

