<?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 Force initial position of scrollbar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207028#M62936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Ellen Blackwell wrote:Any difference in the behavior, especially when trying to trigger using the button, in AJAX?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;We don't normaly use AJAX, but now that it's published I can test this.&lt;/P&gt;&lt;P&gt;The macro on open does &lt;STRONG&gt;NOT&lt;/STRONG&gt; put the scroll bar to the right in AJAX, at least with our setup. If you're using AJAX, it looks like you'll need another solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Apr 2011 01:39:11 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-04-09T01:39:11Z</dc:date>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207023#M62931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm displaying data by CalendarWeekEnd. The max date is displayed on the far right. I would like the default view of the object to appear as below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-4058_sourceID:4058" /&gt;&lt;/P&gt;&lt;P&gt;I have Preserve Scroll Position enabled, but that doesn't help until manually scrolling to the right for the first time. I have also tried using 'OnOpen' triggers - in conjunction with Preserve Scroll Position - to select the maximum date in the date field and then clear the date field. Didn't work. Any ideas? I'm using v9.0 SR 6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 22:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207023#M62931</guid>
      <dc:creator>bullish35</dc:creator>
      <dc:date>2011-04-08T22:57:20Z</dc:date>
    </item>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207024#M62932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By coincidence, at this very moment I need this for a chart I'm working on, I've never done it before, and I'm on the same version of QlikView as you. It appears from the API guide that this should work:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;set chart = ActiveDocument.GetSheetObject("CH23")&lt;BR /&gt; set chartProperties = chart.GetProperties&lt;BR /&gt; chartProperties.ChartProperties.XScrollInitRight = true&lt;BR /&gt; chart.SetProperties chartProperties&lt;/P&gt;&lt;P&gt;Except that it didn't. Ah! It didn't work when I clicked the button to execute the macro manually, but it DID work when I closed out the application and went back in, with this being triggered on open. So I guess it works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 23:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207024#M62932</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-08T23:20:48Z</dc:date>
    </item>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207025#M62933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, very curious. I think I'll give it a try.&lt;/P&gt;&lt;P&gt;Hey, if it works on open - for any user with access - I'd say it works! Have you tried publishing the app yet? Any difference in the behavior, especially when trying to trigger using the button, in AJAX?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 23:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207025#M62933</guid>
      <dc:creator>bullish35</dc:creator>
      <dc:date>2011-04-08T23:37:55Z</dc:date>
    </item>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207026#M62934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, exactly, as long as it scrolls right on document open, that should be good enough in practice.&lt;/P&gt;&lt;P&gt;No, I haven't published yet. Probably Monday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2011 00:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207026#M62934</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-09T00:06:16Z</dc:date>
    </item>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207027#M62935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Published. Works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2011 01:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207027#M62935</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-09T01:29:37Z</dc:date>
    </item>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207028#M62936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Ellen Blackwell wrote:Any difference in the behavior, especially when trying to trigger using the button, in AJAX?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;We don't normaly use AJAX, but now that it's published I can test this.&lt;/P&gt;&lt;P&gt;The macro on open does &lt;STRONG&gt;NOT&lt;/STRONG&gt; put the scroll bar to the right in AJAX, at least with our setup. If you're using AJAX, it looks like you'll need another solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2011 01:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207028#M62936</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-09T01:39:11Z</dc:date>
    </item>
    <item>
      <title>Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207029#M62937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that has been my experience with macros in AJAX. Neither buttons nor triggers work in the published app. It must be a settings issue. But I'm glad you have a solution for the scrollbar position in your app! I recall searching for info regarding macro functionality in published apps using AJAX; don't recall finding anything definitive on the matter. I think I'll submit a more general post. Thanks John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 19:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207029#M62937</guid>
      <dc:creator>bullish35</dc:creator>
      <dc:date>2011-04-13T19:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207030#M62938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, I have not written Macro in qlikview yet. can you please help me how exactly should i put the 4 lines you mentioned above? I tried putting them as they are and it shows syntax errors. Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 15:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207030#M62938</guid>
      <dc:creator />
      <dc:date>2012-11-21T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207031#M62939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know much about macros but I have 32 charts in one QVW that I would like to force the scrollbar to the right of the chart by default. I did run your macro and all the 32 charts have now the scrollbar to the right. I then deleted the macro from my QVW but the scrollbar position remained to the right. I have saved the QVW many times after that and also made a copy of it and all the charts remain with the scrollbar to the right. Is there something in the background related to the macro that is still running? I thought after I deleted the macro code all scrollbars would go back to its Qlikview default (left) position. I wonder if the scrollbar will remain on the right side. Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.GetSheetObject("CH100")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set chartProperties = chart.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; chartProperties.ChartProperties.XScrollInitRight = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; chart.SetProperties chartProperties&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 23:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207031#M62939</guid>
      <dc:creator />
      <dc:date>2014-08-05T23:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207032#M62940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Tools and Edit Module and paste John's code replacing "CH23" Object ID with yours. You can find your chart Object ID under the chart's properties (General tab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did use the macro as shown by John and it worked for me. The only difference is that I added my Object ID and removed his ("CH23"). My object ID is CH100 thus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH100")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set chartProperties = chart.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; chartProperties.ChartProperties.XScrollInitRight = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; chart.SetProperties chartProperties&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 23:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207032#M62940</guid>
      <dc:creator />
      <dc:date>2014-08-05T23:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207033#M62941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't seem to work on Chart - Pivot Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 16:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207033#M62941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-10T16:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207034#M62942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any solution to pivot chart as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 15:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207034#M62942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-22T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Force initial position of scrollbar</title>
      <link>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207035#M62943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please start new questions in new topics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Topic locked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 21:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-initial-position-of-scrollbar/m-p/207035#M62943</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-05-22T21:11:18Z</dc:date>
    </item>
  </channel>
</rss>

