<?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 to get notified that table data has started updating? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-get-notified-that-table-data-has-started-updating/m-p/1957898#M78979</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a &lt;STRONG&gt;mashup&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this mashup I'm building a custom Pivot Table.&amp;nbsp; I'm getting a table data using&amp;nbsp;&lt;STRONG&gt;getHyperCubePivotData()&amp;nbsp;&lt;/STRONG&gt;method and then render a custom table using HTML and javaScript.&lt;/P&gt;
&lt;P&gt;I also need to display a loading indicator when table is updating/re-rendering. For now, I've created a hypercube for this table. When I get a callback from hypercube (means that table data is ready) I display a loading indicator and call&amp;nbsp;&lt;STRONG&gt;getHyperCubePivotData()&amp;nbsp;&lt;/STRONG&gt;method, and hide a loading indicator when&amp;nbsp;&lt;STRONG&gt;getHyperCubePivotData() &lt;/STRONG&gt;returns a data page.&lt;/P&gt;
&lt;P&gt;It works good. But if the table calculates a big amount of data there is a noticeable delay between making a selection and hypercube callback. And user can't see that the table is updating for 2-5 seconds.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The question is, how can I be notified that the table data has started updating?&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; I was thinking about&amp;nbsp;&lt;STRONG&gt;selectionState&amp;nbsp;&lt;/STRONG&gt;callback, but it triggers not only when selections actually changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 16:26:34 GMT</pubDate>
    <dc:creator>blink</dc:creator>
    <dc:date>2022-07-19T16:26:34Z</dc:date>
    <item>
      <title>How to get notified that table data has started updating?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-notified-that-table-data-has-started-updating/m-p/1957898#M78979</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a &lt;STRONG&gt;mashup&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this mashup I'm building a custom Pivot Table.&amp;nbsp; I'm getting a table data using&amp;nbsp;&lt;STRONG&gt;getHyperCubePivotData()&amp;nbsp;&lt;/STRONG&gt;method and then render a custom table using HTML and javaScript.&lt;/P&gt;
&lt;P&gt;I also need to display a loading indicator when table is updating/re-rendering. For now, I've created a hypercube for this table. When I get a callback from hypercube (means that table data is ready) I display a loading indicator and call&amp;nbsp;&lt;STRONG&gt;getHyperCubePivotData()&amp;nbsp;&lt;/STRONG&gt;method, and hide a loading indicator when&amp;nbsp;&lt;STRONG&gt;getHyperCubePivotData() &lt;/STRONG&gt;returns a data page.&lt;/P&gt;
&lt;P&gt;It works good. But if the table calculates a big amount of data there is a noticeable delay between making a selection and hypercube callback. And user can't see that the table is updating for 2-5 seconds.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The question is, how can I be notified that the table data has started updating?&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; I was thinking about&amp;nbsp;&lt;STRONG&gt;selectionState&amp;nbsp;&lt;/STRONG&gt;callback, but it triggers not only when selections actually changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-notified-that-table-data-has-started-updating/m-p/1957898#M78979</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2022-07-19T16:26:34Z</dc:date>
    </item>
  </channel>
</rss>

