<?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 Bug IE7 and IE8</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8</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-bug-ie7-and-ie8/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12759</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12759</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please check the last from GitHub. I have make some chenges to this.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 05 Dec 2009 13:57:10 +0200</pubDate>
        </item>
        <item>
        	<title>tony on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12737</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12737</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have one request to you.</p>
<p>Could you please prepare live example and send me a link. You can send me PM or e-mail me to tony at trirand dot com.</p>
<p>Thanks</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 04 Dec 2009 08:57:25 +0200</pubDate>
        </item>
        <item>
        	<title>Akeru on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12736</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12736</guid>
        	        	<description><![CDATA[<p>Any news on this ?</p>
]]></description>
        	        	<pubDate>Fri, 04 Dec 2009 08:51:48 +0200</pubDate>
        </item>
        <item>
        	<title>Akeru on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12534</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p12534</guid>
        	        	<description><![CDATA[<p>Hi ! Thanks for investigating. The post here :&#160;<a href="http://www.trirand.com/blog/?page_id=393/releases/jqgrid-36-is-finally-released/#p1179" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....sed/#p1179</a> might be clearer regarding this issue, but&#160;my rows indeed don&#39;t (or might not) have the same height...</p></p>
]]></description>
        	        	<pubDate>Fri, 27 Nov 2009 12:00:01 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11908</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11908</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>Thanks. Im going to be away for the w/e so wont be able to look at it until Monday.</p>
</p>
<p>One more thought... Math.round may be the answer after all.</p>
</p>
<p>The current formula is supposed to take a pixel value, and return the page that contains that pixel. For that, Math.round would be wrong (if you were in the lower half of the page, it would give the /next/ page).</p>
</p>
<p>But in this case, if all the calculations are correct, the pixel should always be the /first/ pixel on the page. But Im guessing (from Kaleb&#39;s investigation) that something isnt quite adding up, and we&#39;re getting an off by 1 (or perhaps off by border, or margin, or padding width, or some such) error. So Math.round ought to give the correct result.</p>
</p>
<p>Somehow doesnt feel right, because its just hiding the fact that the calculation isnt quite correct... but I think it /should/ work, as long as the error is less than half a page :-\\</p>
</p>
<p>For the cells with images case... if the rows aren&#39;t all exactly the same height (?), the scrolling rows feature just isnt going to work as it stands (it depends on being able to translate back and forth between pixel offsets and row numbers /without/ having looked at all the preceding rows). I think it may be possible to fix that, but would require changing the scrolling logic somewhat...</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Fri, 13 Nov 2009 09:24:24 +0200</pubDate>
        </item>
        <item>
        	<title>tony on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11889</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11889</guid>
        	        	<description><![CDATA[<p>Mark,</p>
<p>Here is another similar IMHO:</p>
<p><a href="http://www.trirand.com/blog/?page_id=393/releases/jqgrid-36-is-finally-released/#p11646" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....ed/#p11646</a></p>
<p>I will take a look at the problem these days.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 13 Nov 2009 04:56:14 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11863</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11863</guid>
        	        	<description><![CDATA[<p>Sorry, but I cant actually reproduce the problem.</p>
</p>
<p>I&#39;ve tried single clicking the scroll arrow all the way down to row 100, and Ive tried paging down until Im close, and /then/ single clicking... what exactly do you mean by scrolling "slowly" down to row 100?</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 11:08:30 +0200</pubDate>
        </item>
        <item>
        	<title>Kaleb on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11842</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11842</guid>
        	        	<description><![CDATA[<p>More Info...</p>
<p>It does look like IE is not reporting the positions correctly. If I add one to the function below it works in IE fine.</p>
</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (ttop &#60;= 0 &#38;&#38; tbot &#60; dh &#38;&#38; parseInt((tbot + scrollTop + div - 1) / div) &#60; p.lastpage) {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;npage = parseInt((dh - tbot + div - 1) / div);</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (tbot &#62;= 0 &#124;&#124; npage &#60; 2 &#124;&#124; p.scroll === true) {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;page = parseInt((tbot + scrollTop <span style="color: #ff0000;"><strong>+ 1</strong></span>) / div) + 1;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;ttop = -1;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;} else {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;ttop = 1;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 10:06:18 +0200</pubDate>
        </item>
        <item>
        	<title>Kaleb on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11822</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11822</guid>
        	        	<description><![CDATA[<blockquote>
<p>markw65 said:</p>
<p>I&#39;ll take a look at this&#8230; but unless IE is reporting the positions incorrectly, Math.round is the wrong function. It /has/ to truncate to get the correct result.</p>
</p>
<p>Mark</p>
</blockquote>
<hr />
<p>Cool thanks Mark!</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 19:02:28 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11821</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11821</guid>
        	        	<description><![CDATA[<p>I&#39;ll take a look at this... but unless IE is reporting the positions incorrectly, Math.round is the wrong function. It /has/ to truncate to get the correct result.</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 18:43:39 +0200</pubDate>
        </item>
        <item>
        	<title>Kaleb on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11815</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11815</guid>
        	        	<description><![CDATA[<p>After doing some debugging it looks to be a problem with IE not reporting the current page correctly. I changed the line as follows and it seems to work.</p>
<p>I replaced the parseInt with the Math.Round function and it rounds up to the next whole number instead of going down a whole number like the parseInt function does.(ex. if number is .99 the parseInt function will make it 0)</p>
<p>Starting at Line 272 in the "grid.base.js"&#160;file.</p>
<p>if (ttop &#60;= 0 &#38;&#38; tbot &#60; dh &#38;&#38; parseInt((tbot + scrollTop + div - 1) / div) &#60; p.lastpage) {<br />npage = parseInt((dh - tbot + div - 1) / div);<br />if (tbot &#62;= 0 &#124;&#124; npage &#60; 2 &#124;&#124; p.scroll === true) {<br />page = <span style="color: #ff0000;"><strong>Math.round</strong></span>((tbot + scrollTop) / div) + 1;<br />ttop = -1;<br />} else {<br />ttop = 1;<br />}<br />}</p></p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 16:01:57 +0200</pubDate>
        </item>
        <item>
        	<title>Kaleb on True Scrolling Bug IE7 and IE8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11809</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-ie7-and-ie8#p11809</guid>
        	        	<description><![CDATA[<p>The true scrolling is an awesome concept and works great in Firefox and Chrome, however I did notice a bug in IE7 and IE8. To reproduce issue.</p>
<p>Browse here&#160;<a href="http://www.trirand.com/jqgrid/jqgrid.html&#160;in" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgrid/" rel="nofollow">http://www.trirand.com/jqgrid/</a>.....ml&#160;in</a> IE7 or IE8.</p>
<p>Open the true scrolling demo.</p>
<p>Scroll down the list very slowly until you get close to the hundredth row. Right when you go path the Hundredth row it will throw an error about an invalid argument which is a negative height. In my case it was trying to set a height to -575px and IE was throwing an error. I also noticed that when this happened the grid did not load the next page but it reloaded the first page. Maybe this is where the issue stems from?</p>
</p>
<p>If you scroll down the list real fast it works fine it is only when you go past that last row slowly.</p>
</p>
<p>Once again thanks for the great product!</p>
</p>
<p>Kaleb</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 14:27:32 +0200</pubDate>
        </item>
</channel>
</rss>