<?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 know if a repaint was triggered by new data? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-know-if-a-repaint-was-triggered-by-new-data/m-p/49440#M740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing a Qlik Sense extension and I noticed that the engine calls&lt;SPAN style="font-size: 10pt;"&gt; the "paint()" function quite often: when the hypercube changes, when another property changes, when the user resizes the extension area, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my initial data load operation is quite slow (because I need to do some post-processing on the cube's data before it is displayed), I would like to know: is there a way to know WHY my paint() function was called? What I mean is: can I know if the paint() function was called because the hypercube changed (in which case I need to re-run my post processing routines) or simply because the extension was resized (in which case I don't need to touch the data)??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2018 08:54:15 GMT</pubDate>
    <dc:creator>master_t</dc:creator>
    <dc:date>2018-02-05T08:54:15Z</dc:date>
    <item>
      <title>How to know if a repaint was triggered by new data?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-know-if-a-repaint-was-triggered-by-new-data/m-p/49440#M740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing a Qlik Sense extension and I noticed that the engine calls&lt;SPAN style="font-size: 10pt;"&gt; the "paint()" function quite often: when the hypercube changes, when another property changes, when the user resizes the extension area, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my initial data load operation is quite slow (because I need to do some post-processing on the cube's data before it is displayed), I would like to know: is there a way to know WHY my paint() function was called? What I mean is: can I know if the paint() function was called because the hypercube changed (in which case I need to re-run my post processing routines) or simply because the extension was resized (in which case I don't need to touch the data)??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-know-if-a-repaint-was-triggered-by-new-data/m-p/49440#M740</guid>
      <dc:creator>master_t</dc:creator>
      <dc:date>2018-02-05T08:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to know if a repaint was triggered by new data?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-know-if-a-repaint-was-triggered-by-new-data/m-p/49441#M741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can implement your own resize handling. I'm afraid this seems to be missing in the documentation. If you add a resize method to your extension, that will be called on resize, not the paint method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this helps you, please mark the answeras helpful and/or correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 09:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-know-if-a-repaint-was-triggered-by-new-data/m-p/49441#M741</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-02-05T09:04:19Z</dc:date>
    </item>
  </channel>
</rss>

