<?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: &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server</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/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23472</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23472</guid>
        	        	<description><![CDATA[<p>No&#160;need to&#160;check&#160;totalrows.&#160;Forgot to&#160;remove&#160;from&#160;the sample&#160;code.</p>
</p>
<p>IKB56</p>
]]></description>
        	        	<pubDate>Sat, 04 Jun 2011 20:52:47 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23471</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23471</guid>
        	        	<description><![CDATA[<p>code:</p>
<p>$totalrows = isset($_REQUEST[&#39;totalrows&#39;]) ? $_REQUEST[&#39;totalrows&#39;]: false;<br />if($totalrows) {<br />$limit = $totalrows;<br />}</p>
</p>
<p>why totalrows are checked? jqGrid does have such parameter in doc</p>
]]></description>
        	        	<pubDate>Sat, 04 Jun 2011 20:37:31 +0300</pubDate>
        </item>
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23465</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23465</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>This is my test program. Please refer to the huge test data.</p>
<p>---index.html ----------------------------------------------------------------</p>
<p>&#60;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a href="http://www.w3.org/TR/html4/strict.dtd" target="_blank">http://www.w3.org/TR/html4/strict.dtd</a>"&#62;<br />&#60;html&#62;<br />&#60;head&#62;<br />&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;<br />&#60;title&#62;Virtual scrolling Test&#60;/title&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/jquery-ui.custom.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.multiselect.css" /&#62;<br />&#60;script src="js/jquery.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery-ui.custom.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.layout.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/ui.multiselect.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.tablednd.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.contextmenu.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript"&#62;<br />jQuery(document).ready(function(){ <br />&#160;&#160;&#160; jQuery("#scroll").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="/blog/&#39;testData.php&#39;" target="_blank">url:&#39;testData.php&#39;</a>,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype:"json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height:750,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:600,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; altRows:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; shrinkToFit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Index&#39;,&#39;Name&#39;,&#39;Code&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:[<br />&#160;&#160; &#160;&#160;{name:&#39;item_id&#39;,index:&#39;item_id&#39;, width:65, sorttype:&#39;int&#39;},<br />&#160;&#160; &#160;&#160;{name:&#39;item&#39;,index:&#39;item&#39;, width:150},<br />&#160;&#160; &#160;&#160;{name:&#39;item_cd&#39;,index:&#39;item_cd&#39;, width:100}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[40,60,100],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; scroll:1,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadonce:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype:"GET",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rownumbers:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rownumWidth:70,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridview:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager:&#39;#pscroll&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:&#39;Huge DataGrid&#39;<br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; jQuery("#scroll").jqGrid(&#39;navGrid&#39;,&#39;#pscroll&#39;,{del:false,add:false,edit:false},{},{},{},{multipleSearch:true});<br />});<br />&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table id="scroll"&#62;&#60;/table&#62;<br />&#60;div id="pscroll"&#62;&#60;/div&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</p>
<p>--- testData.php ----------------------------------------------------------------</p>
<p>&#60;?php</p>
<p>$page&#160; = $_REQUEST[&#39;page&#39;]; // get the requested page<br />$limit = $_REQUEST[&#39;rows&#39;]; // get how many rows we want to have into the grid<br />$sidx&#160; = $_REQUEST[&#39;sidx&#39;]; // get index row - i.e. user click to sort<br />$sord&#160; = $_REQUEST[&#39;sord&#39;]; // get the direction<br />if(!$sidx) $sidx =1;</p>
<p>$totalrows = isset($_REQUEST[&#39;totalrows&#39;]) ? $_REQUEST[&#39;totalrows&#39;]: false;<br />if($totalrows) {<br />&#160;&#160;&#160; $limit = $totalrows;<br />}</p>
<p>//data count<br />//$count = 5000000;&#160;&#160;&#160; // OK<br />//$count = 5500000;&#160;&#160;&#160; // OK<br />//$count = 6000000;&#160;&#160;&#160; // NG<br />//$count = 7000000;&#160;&#160;&#160; // NG<br />$count = 50000000;&#160;&#160;&#160;&#160; // NG<br />//$count = 500000000;&#160; // NG<br />//$count = 2000000000; // NG</p>
<p>if( $count &#62; 0 ) {<br />&#160;&#160;&#160; $total_pages = ceil($count/$limit);<br />} else {<br />&#160;&#160;&#160; $total_pages = 0;<br />}<br />if ($page &#62; $total_pages) $page=$total_pages;<br />if ($limit&#60;0) $limit = 0;<br />$start = $limit*$page - $limit; // do not put $limit*($page - 1)<br />if ($start&#60;0) $start = 0;</p>
<p>$responce-&#62;page = $page;<br />$responce-&#62;total = $total_pages;<br />$responce-&#62;records = $count;</p>
<p>$dc = $limit;<br />$rdc = $count - $start;<br />if ($dc &#62; $rdc) {<br />&#160;&#160;&#160; $dc = $rdc;<br />}<br />for ($ir = 0; $ir &#60; $dc; $ir++) {<br />&#160;&#160;&#160; $n = $start + $ir + 1;<br />&#160;&#160;&#160; $row[item_id] = &#39;item_id &#39; .$n;<br />&#160;&#160;&#160; $row[item] = &#39;item &#39; .$n;<br />&#160;&#160;&#160; $row[item_cd] = &#39;item_cd &#39; .$n;<br />&#160;&#160;&#160; $responce-&#62;rows[$ir][&#39;id&#39;]=$row[item_id];<br />&#160;&#160;&#160; $responce-&#62;rows[$ir][&#39;cell&#39;]=array($row[item_id],$row[item],$row[item_cd]);<br />} <br />echo json_encode($responce);</p>
<p>?&#62;</p>
]]></description>
        	        	<pubDate>Sat, 04 Jun 2011 16:59:54 +0300</pubDate>
        </item>
        <item>
        	<title>Leandro Irgang on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23461</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23461</guid>
        	        	<description><![CDATA[<p>Hello... I will try to simulate this problem later and see how i can help</p>
</p>
<p>Leandro Irgang</p>
]]></description>
        	        	<pubDate>Sat, 04 Jun 2011 01:06:26 +0300</pubDate>
        </item>
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23456</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23456</guid>
        	        	<description><![CDATA[<p>Thank you for&#160;useful information.&#160;SlickGrid&#160;it may be&#160;good.</p>
<p>IKB56</p>
]]></description>
        	        	<pubDate>Fri, 03 Jun 2011 20:32:18 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23454</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23454</guid>
        	        	<description><![CDATA[<p>You can switch to slickgrid. According to SlickGrid Developer answer in stackoverflow.com where this issue was discussed, this is resolved in SlickGrid.</p>
]]></description>
        	        	<pubDate>Fri, 03 Jun 2011 17:29:05 +0300</pubDate>
        </item>
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23449</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23449</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I understood the limitations of the browser and that efforts are needed to fix the problem. But I think the virtual scrolling is required huge data support. Near future, I hope that the huge data is supported by the virtual scrolling.</p>
<p>I would like to complete this topic. Thank you.</p>
</p>
<p>IKB56</p>
]]></description>
        	        	<pubDate>Fri, 03 Jun 2011 12:44:01 +0300</pubDate>
        </item>
        <item>
        	<title>tony on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23445</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23445</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The problem of more than 500 000 records lie in the browsers limitations itself and the way we realize virtual scrolling.</p>
<p>The problem is hard to be fixed, but I think this is not impossible. This requiere a lot of eforts and calculations.</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Fri, 03 Jun 2011 09:20:50 +0300</pubDate>
        </item>
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23439</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23439</guid>
        	        	<description><![CDATA[<div id="gt-res-content" class="almost_half_cell">
<div dir="ltr">Additional&#160;information</p>
<p>Line&#160;scrolling,&#160;1 page&#160;scrolling&#160;by pressing the&#160;â–³ â–½&#160;buttons&#160;of the scroll bar.&#160;When&#160;I move&#160;the slider on the&#160;scroll bar,&#160;I want&#160;to&#160;be able to&#160;move&#160;the page. At that time,&#160;the page&#160;displayed is&#160;not&#160;a good&#160;position&#160;to&#160;correct page.</p>
</div>
</div>
<p><br class="Apple-interchange-newline" />IKB56</p>
]]></description>
        	        	<pubDate>Thu, 02 Jun 2011 21:35:47 +0300</pubDate>
        </item>
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23436</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23436</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Probably, yes.</p>
<p>I&#39;s a matter of logic to calculate the page position (request to the server). When the page position is less than 0, the slider of the scroll bar to move 1 pixel will be assigned a few pages.</p>
<p>Which parts of Java Script, what should I fix it?</p>
</p>
<p>IKB56</p>
]]></description>
        	        	<pubDate>Thu, 02 Jun 2011 20:41:27 +0300</pubDate>
        </item>
        <item>
        	<title>Leandro Irgang on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23434</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23434</guid>
        	        	<description><![CDATA[<p>Hi</p>
</p>
<p>i am not sure, but try increase value of rowNum, because 50.000.000 / 100 = 500.000 pages on only around 700px of vertical scrollbar height will give to us around 0.014px (of scrollbar) for each page.</p>
</p>
<p>Leandro Irgang</p>
]]></description>
        	        	<pubDate>Thu, 02 Jun 2011 19:16:14 +0300</pubDate>
        </item>
        <item>
        	<title>IKB56 on &#091;jqGrid 4.0&#093; Virtual Scrolling problems in big data on Web server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23430</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-4-0-virtual-scrolling-problems-in-big-data-on-web-server#p23430</guid>
        	        	<description><![CDATA[<p>Hello<br />I&#39;ve tried to display a virtual scroll through more data than 50,000,000 lines can not scroll work.<br />When I move the slider of the scroll bar to display the page location is invalid.<br />jqGrid a bug?, please tell me how to bugfix.</p>
<p>jQuery("#scroll").jqGrid({<br />&#160; <a href="/blog/&#39;dataReader.php&#39;" target="_blank">url:&#39;dataReader.php&#39;</a>,<br />&#160; datatype:"json",<br />&#160; height:750,<br />&#160; width:1120,<br />&#160; altRows:true,<br />&#160; shrinkToFit:false,<br />&#160; colNames:[&#8230;,&#8230;,&#8230;,&#8230;,&#8230;,&#8230;],<br />&#160; colModel:[&#8230;,&#8230;,&#8230;,&#8230;,&#8230;,&#8230;],<br />&#160; rowNum:100,<br />&#160; rowList:[40,60,100],<br />&#160; scroll:1,<br />&#160; loadonce:false,<br />&#160; mtype:"GET",<br />&#160; rownumbers:true,<br />&#160; rownumWidth:70,<br />&#160; gridview:true,<br />&#160; pager:&#39;#pscroll&#39;,<br />&#160; viewrecords:true,<br />&#160; caption:&#39;&#39;<br />});</p>
]]></description>
        	        	<pubDate>Thu, 02 Jun 2011 13:20:49 +0300</pubDate>
        </item>
</channel>
</rss>