<?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>Question Re: VizFrame wait for data to load - renderComplete too soon in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392235#M39274</link>
    <description>&lt;P&gt;Hi Matthijs,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;P&gt;oVizFrame3.getModel().attachRequestSent(function() {
sap.ui.core.BusyIndicator.show(0);
});
oVizFrame3.getModel().attachRequestCompleted(function() {
sap.ui.core.BusyIndicator.hide();
});&lt;/P&gt;&lt;P&gt;Regards, Uladzislau&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2017 12:15:33 GMT</pubDate>
    <dc:creator>uladzislau_pralat</dc:creator>
    <dc:date>2017-05-01T12:15:33Z</dc:date>
    <item>
      <title>VizFrame wait for data to load - renderComplete too soon</title>
      <link>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaq-p/392233</link>
      <description>&lt;P&gt;Hey experts&lt;/P&gt;&lt;P&gt;I was wondering if there was any way you can wait for the vizframe to be on the screen. I used the following methods onAfterRendering en renderComplete. They both get called too soon. Usually the vizframe takes 3-5 seconds to load. But I can't use any form of timers.  Anyone have any idea what I can use? &lt;/P&gt;&lt;P&gt;kind regards, &lt;/P&gt;&lt;P&gt;Matthijs&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 10:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaq-p/392233</guid>
      <dc:creator>former_member125327</dc:creator>
      <dc:date>2016-11-30T10:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: VizFrame wait for data to load - renderComplete too soon</title>
      <link>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392234#M39273</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;This is the method I used, if anyone knows any better way to check, please 
tell me
		waitVizRender: function(oVizFrame) {
			var bRendering = true;
			oVizFrame.addEventDelegate({
				onBeforeRendering: function() {
					if (bRendering === true) {
						sap.ui.core.BusyIndicator.show(0);
					}
				}
			}, oVizFrame);


			oVizFrame.addEventDelegate({
				onAfterRendering: function() {
					oVizFrame.getModel().attachRequestCompleted(function() {
						sap.ui.core.BusyIndicator.hide();
						bRendering = false;
					});
				}
			}, oVizFrame);
		}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Nov 2016 11:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392234#M39273</guid>
      <dc:creator>former_member125327</dc:creator>
      <dc:date>2016-11-30T11:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: VizFrame wait for data to load - renderComplete too soon</title>
      <link>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392235#M39274</link>
      <description>&lt;P&gt;Hi Matthijs,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;P&gt;oVizFrame3.getModel().attachRequestSent(function() {
sap.ui.core.BusyIndicator.show(0);
});
oVizFrame3.getModel().attachRequestCompleted(function() {
sap.ui.core.BusyIndicator.hide();
});&lt;/P&gt;&lt;P&gt;Regards, Uladzislau&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 12:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392235#M39274</guid>
      <dc:creator>uladzislau_pralat</dc:creator>
      <dc:date>2017-05-01T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: VizFrame wait for data to load - renderComplete too soon</title>
      <link>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392236#M39275</link>
      <description>&lt;P&gt;This works too and is much shorter. &lt;/P&gt;&lt;P&gt;Thank you for answering.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 08:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vizframe-wait-for-data-to-load-rendercomplete-too-soon/qaa-p/392236#M39275</guid>
      <dc:creator>former_member125327</dc:creator>
      <dc:date>2017-05-17T08:50:43Z</dc:date>
    </item>
  </channel>
</rss>

