<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: True Scrolling always bounces to top (fix included)</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on True Scrolling always bounces to top (fix included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p27111</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p27111</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Fixed</p>
]]></description>
        	        	<pubDate>Sat, 11 Aug 2012 10:05:49 +0300</pubDate>
        </item>
        <item>
        	<title>sheridan.bulger on True Scrolling always bounces to top (fix included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p27107</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p27107</guid>
        	        	<description><![CDATA[<p>Thank you very much!</p>
]]></description>
        	        	<pubDate>Fri, 10 Aug 2012 22:38:12 +0300</pubDate>
        </item>
        <item>
        	<title>tony on True Scrolling always bounces to top (fix included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p26925</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p26925</guid>
        	        	<description><![CDATA[<p>Hello Sheridan,</p>
</p>
<p>Sorry that I missed this fix. I will perform some test too and will&#160; (if no problem of course) publish it in the GitHUb, so it will be in the next bug fix release (comming soon)</p>
</p>
<p>Thanks.</p>
</p>
<p>Best Regards,</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 10 Jul 2012 14:25:22 +0300</pubDate>
        </item>
        <item>
        	<title>sheridan.bulger on True Scrolling always bounces to top (fix included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p26854</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p26854</guid>
        	        	<description><![CDATA[<p>This didn&#39;t make the 4.4.0 release? That&#39;s pretty unfortunate.</p>
]]></description>
        	        	<pubDate>Tue, 26 Jun 2012 21:38:19 +0300</pubDate>
        </item>
        <item>
        	<title>sheridan.bulger on True Scrolling always bounces to top (fix included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p26419</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-always-bounces-to-top-fix-included#p26419</guid>
        	        	<description><![CDATA[<p>Hello. First off, great product. We use it heavily at work and I, as the resident web developer, quite enjoy it.</p>
</p>
<p>I&#39;ve just spent a bit of time tracking down a small bug I noticed when I switched my grids to use the true scrolling feature. (On 4.3.2 latest). Basically, given my odd setup with a grid nested inside a scrollable div that is floated inside of an absolutely positioned element (blah blah blah), the scrGrid subfunction to setSelection seemed to be using an incorrectly calculated record position. offsetTop seemed to be returning a value much smaller than what would return correct results (300 as compared to 20000). These incorrect numbers would then cause the grid to jump back to the top every single time a different record is selected (Gee, this sounds like something I&#39;d like to explain to my boss <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" />). Switching offsetTop to jquery&#39;s position function made it work perfectly, however.</p>
</p>
<p>Old code:</p>
<p>&#160;&#160;&#160; rpos = $t.rows[iR].offsetTop,</p>
<p>My code:</p>
<p>&#160;&#160;&#160; rpos = $($t.rows[iR]).position().top,</p>
</p>
<p>Maybe this can make it into the actual release code of jqGrid? That would be nice. Otherwise I&#39;ll just have to remember to make the change every time I update jqGrid..</p>
]]></description>
        	        	<pubDate>Thu, 19 Apr 2012 22:40:57 +0300</pubDate>
        </item>
</channel>
</rss>