<?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 with jqGrid 3.6.5</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5</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-with-jqgrid-3-6-5/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Ibrahim Aboshosha on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p19490</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p19490</guid>
        	        	<description><![CDATA[<p>try to replace the</p>
<p>C=Math.round((s+p)/h)+1; in populateVisible function with C2=Math.ceil((s+p)/h)+1;</p></p>
]]></description>
        	        	<pubDate>Thu, 02 Sep 2010 18:16:20 +0300</pubDate>
        </item>
        <item>
        	<title>wolis on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18971</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18971</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Thank you for the recommendations.</p>
<p>This feature should be carfully checked and corrected.</p>
<p>Best Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Just wondering what the progress on this bug is?</p>
<p>I found it still has not been addressed in the 3.8 demo so I have manually edited in 3.7.2 as per initial suggested fix and its all working ok (as far as I can tell).</p>
<p>For those wanting to hack the minified version.. just search for "===undefined&#124;&#124;" and you will find a line with the same logic but (naturally) different veriable names eg:</p>
<p>c.lastpage===undefined&#124;&#124;parseInt((s+p+h-1)/h,10)&#60;=c.lastpage</p>
<p>Thanks</p></p>
]]></description>
        	        	<pubDate>Thu, 05 Aug 2010 06:58:57 +0300</pubDate>
        </item>
        <item>
        	<title>jayarjo on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18383</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18383</guid>
        	        	<description><![CDATA[<p>One thing that I think is also related to a scroll somehow.</p>
<p>I&#39;ve got thousands of rows in my table and when they are all already preloaded (no additional auto load happens on scroll), I notice a slight delay when I try to move a scrollbar with the mouse. Scrollbar doesn&#39;t move for at least 2-3 secs, it looks like it is undergoing some intensive calculation. After it starts moving, scroll becomes smooth again. But if I release it and try to drag the scrollbar again, interface hangs for some time again.</p>
<p>When new rows are preloaded on scroll such delay maybe understandable, but I do not see why it can be happening when all rows are already loaded. This makes the interface to look a bit sluggish.</p>
<p>Anyone any idea of what can be the reason for this and how to eliminate it maybe?</p>
]]></description>
        	        	<pubDate>Sun, 04 Jul 2010 10:46:39 +0300</pubDate>
        </item>
        <item>
        	<title>toolm on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18368</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18368</guid>
        	        	<description><![CDATA[<p>Yes. Everything works for me with Klaus&#39;s solution.</p>
<p>I tried some changes, and the case (which last page won&#39;t be retrieved) happened when I changed the line below.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7213' value='Select Code' data-codeid='sfcode7213' /></p>
<div class='sfcode' id='sfcode7213'>
<p>// also in populateVisible function:</p>
<p>if (p.lastpage &#38;&#38; page &#62; p.lastpage) {</p>
<p>to&#160;</p>
<p>if (p.lastpage &#38;&#38; page &#62;= p.lastpage) {</p>
</div>
<p>You can trigger the symptom with this change. I don&#39;t know if it helps, but just FYI.</p>
</p>
<p>Thanks</p></p>
]]></description>
        	        	<pubDate>Fri, 02 Jul 2010 07:43:00 +0300</pubDate>
        </item>
        <item>
        	<title>jayarjo on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18349</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18349</guid>
        	        	<description><![CDATA[<p>This has fixed my issue too, though. Tony, it does load the last page actually, but doesn&#39;t duplicate it any more. Were you meaning some different case?</p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 11:41:41 +0300</pubDate>
        </item>
        <item>
        	<title>jayarjo on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18346</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18346</guid>
        	        	<description><![CDATA[<p>@toolm, but as Tony said this will introduce new problem &#8211; last page won&#39;t be retrieved at all. Is this not true in your case?</p>
</p>
<p>I wasn&#39;t thinking of fixing this in such way at all. Initially I was planning to do a reset of some kind after a change in grid height, but didn&#39;t know what to reset and where? I was hoping that it is somehow possible to accomodate scroll size to a new height maybe&#8230;</p>
</p>
<p>What you guys think?<strong><br /></strong></p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 10:53:00 +0300</pubDate>
        </item>
        <item>
        	<title>toolm on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18337</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p18337</guid>
        	        	<description><![CDATA[<p>Hello.</p>
<p>I had the same problem with the newest version (3.7.1), and Klaus&#39;s solution worked fine.</p>
<p>Thanks.</p></p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 01:17:13 +0300</pubDate>
        </item>
        <item>
        	<title>tony on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p17000</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p17000</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you for the recommendations.</p>
<p>This feature should be carfully checked and corrected.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 07 May 2010 11:28:41 +0300</pubDate>
        </item>
        <item>
        	<title>Klaus on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p16996</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p16996</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>maybe you could improve this the following way ...</p>
<p>1) better validation/consistency checks: same rows (with same ID) should never be inserted into the grid - because this doesn&#39;t work anyway (selection of rows with same IDs is corrupt, ...)</p>
<p>2) better validation of paging values (esp. when in scroll-mode): sometimes it happens when scrolling too fast in a huge data set that the AJAX-loading-requests get in trouble (some not finished while invoking other ... or so) and the pages get mixed up or even the grid will stay sometime empty (when the paging is really corrupt and the grid tries to load a non-existing page)<br />... so loading negative pages won&#39;t work anytime and loading pages above the max also will not work.<br />... maybe you could also check when scrolled to the top to load page=1 and when scrolled to the bottom to load page="total" ... that may help the user to recover loading problems by simple scrolling to one end of the scrollbar.</p>
<p>Kind regards,<br />Klaus.</p>
]]></description>
        	        	<pubDate>Fri, 07 May 2010 10:13:35 +0300</pubDate>
        </item>
        <item>
        	<title>tony on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p16945</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p16945</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks Klaus. This will fix your issue, but will go to the older one where the last page can not be requested.</p>
<p>Humm, will investigate more deeper the problem.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 06 May 2010 13:37:26 +0300</pubDate>
        </item>
        <item>
        	<title>Klaus on True-Scrolling Bug with jqGrid 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p16925</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5#p16925</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>After updating to the latest jqGrid release 3.6.5 I detected the following problem:</p>
<p>For all my tables using "true scrolling" (scroll:1) the table content is duplicated with each setGridHeight.<br />The Record info says: "View -9 &#8211; 2 of 2&#8243;.<br />Also when I scroll inside such a grid the records are duplicated.</p>
<p>When press the RESET-button, the records are loaded correctly (without any duplicates).</p>
<p>I&#39;m using deepempty:true (but also tried with deepempty:false &#8211; without any change).</p>
<p>The calling order is:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3147' value='Select Code' data-codeid='sfcode3147' /></p>
<div class='sfcode' id='sfcode3147'>
<div class=&#34;&#34;logRow&#34;>1) setGridHeight</div>
<div class="logRow logRow-log">2) populateVisible</div>
<div class="logRow  logRow-log">3)  populate</div>
</div>
<div class="logRow  logRow-log">It seems that the old data is not cleared!</div>
<div class="logRow  logRow-log"></div>
<div class="logRow  logRow-log"><strong>Finally I found the bug:</strong></div>
<div class="logRow  logRow-log"></div>
<p><input type='button' class='sfcodeselect' name='sfselectit9295' value='Select Code' data-codeid='sfcode9295' /></p>
<div class='sfcode' id='sfcode9295'>
<div class=&#34;logRow  logRow-log&#34;>@populateVisible: function()</div>
<div class="logRow  logRow-log">* NOT-Working (3.6.5): if (ttop &#60;= 0 &#38;&#38; &#160;<br />&#160; (p.lastpage===undefined&#124;&#124;parseInt((tbot + scrollTop + div - 1) / div,10) <strong>&#60;=</strong> p.lastpage))</div>
<div class="logRow  logRow-log">* Fixed (as in 3.6.4):&#160; if (ttop &#60;= 0 &#38;&#38; <br />&#160; (p.lastpage===undefined&#124;&#124;parseInt((tbot + scrollTop + div - 1) / div,10) <strong>&#60;</strong> p.lastpage))</div>
</div>
<div class="logRow  logRow-log">with the update to 3.6.5 the "&#60; p.lastpage" comparison changed to "&#60;= p.lastpage" ... after reverting this to <strong>"&#60; p.lastpage" the scrolling works again</strong>.
</div>
<div class="logRow  logRow-log"></div>
<div class="logRow  logRow-log">Kind regards,<br />Klaus.</div>
]]></description>
        	        	<pubDate>Wed, 05 May 2010 19:03:42 +0300</pubDate>
        </item>
</channel>
</rss>