<?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: Fixing infinite scrolling in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611128#M1234135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the html markup for the banner? Since I have tried on my end and it works, see the attached screenshot.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="banner.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54669_banner.PNG.png" style="width: 620px; height: 219px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 00:41:10 GMT</pubDate>
    <dc:creator>Alexander_Thor</dc:creator>
    <dc:date>2014-03-11T00:41:10Z</dc:date>
    <item>
      <title>Fixing infinite scrolling</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611125#M1234128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We created a document extension that adds a banner to our QV document which works fine. It uses jQuery to add an html element to before the toolbar. However, this causes the qv document to have infinite scrolling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611125#M1234128</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing infinite scrolling</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611126#M1234130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV will calculate it's viewport based on the toolbar, tabrow and body. When you introduce another element to the page a certain part will always be off screen and those causing infinite scrolling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An easy fix to the issue is to not append your banner to the body but instead as the first element of the toolbar.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;$('#QvAjaxToolbar').prepend('&amp;lt;div&amp;gt;This wont cause scroll issues&amp;lt;/div&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you are interested in the details, this is Qva.ResizeBody which fires everytime you scroll,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13943864964052048" jivemacro_uid="_13943864964052048"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Qva.ResizeBody = function() {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; var h = $(document),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; g = Math.min(document.documentElement.clientHeight + $(window).scrollTop(), h.height()),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; b = Math.min(document.documentElement.clientWidth + $(window).scrollLeft(), h.width()),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; f = $(document.getElementById("MainContainer")),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; c = $(Qva.GetToolbarElement()),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; a = $(document.getElementById("Tabrow")),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; d = document.body.scrollWidth;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; if (c[0] &amp;amp;&amp;amp; a[0]) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; f.css("height", Math.max(0, Number(g - c.outerHeight(true) - a.outerHeight(true) - 1)));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; if (IS_TOUCHENABLED) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; c.css("width", d);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; a.css("width", d)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; } else {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; c.css("width", b);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; a.css("width", b)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; if (IS_TOUCHENABLED) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; $(document.documentElement).width(d).height(document.body.scrollHeight)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; } else {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; $("body").css("width", b).css("height", g)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; } if (Qva.GetBinder() &amp;amp;&amp;amp; Qva.GetBinder().BackgroundMgr) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; Qva.GetBinder().BackgroundMgr.SetBackgroundPosition()&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 17:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611126#M1234130</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2014-03-09T17:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing infinite scrolling</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611127#M1234133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well so I tried the solution you suggested: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;$('#QvAjaxToolbar').prepend('&amp;lt;div&amp;gt;This wont cause scroll issues&amp;lt;/div&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;This works in adding the banner without having scroll-bars. &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; line-height: 1.5em;"&gt;However, the problem is the banner overlays the toolbar, so a css attribute of 'margin-top:10px' has to be added to '&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;.ctx-menu&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; line-height: 1.5em;"&gt;' (class associated with the toolbar) which results in infinite scrolling still. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 17:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611127#M1234133</guid>
      <dc:creator />
      <dc:date>2014-03-10T17:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing infinite scrolling</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611128#M1234135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the html markup for the banner? Since I have tried on my end and it works, see the attached screenshot.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="banner.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54669_banner.PNG.png" style="width: 620px; height: 219px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 00:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-infinite-scrolling/m-p/611128#M1234135</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2014-03-11T00:41:10Z</dc:date>
    </item>
  </channel>
</rss>

