<?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: grid loading slowly</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1</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/discussion/grid-loading-slowly-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>rnkr09 on grid loading slowly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1#p13895</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1#p13895</guid>
        	        	<description><![CDATA[<div>
<p>hi! yes when i load the grid in standalone page it works perfectly in all browsers and loads fast.</p>
<p>but when i use the grid to load in tabs it takes longer time to load and is not working in firefox and chrome.</p>
<p>i use the following code to load the workorder.jsp file which has the grid.</p>
</p>
<p>$(document).ready(addClickHandlers);</p>
<p>function addClickHandlers() {</p>
<p>$(&#8221;a.remoteView&#8221;, this).click(function() {</p>
<p>$(&#8221;#displayDIV&#8221;).load(&#8221;workorder.jsp&#8221;, addClickHandlers);</p>
<p>});</p>
<p>}</p>
<p>when i click the link &#60;a&#62; tag with class remoteView it loads the grid page in the div container with id "displayDIV"</p>
<p>is there any way to solve this problem. please help me.</p>
<p>Regards,</p>
<p>Karthick</p>
</p>
</div>
]]></description>
        	        	<pubDate>Thu, 14 Jan 2010 14:25:53 +0200</pubDate>
        </item>
        <item>
        	<title>tony on grid loading slowly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1#p13838</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1#p13838</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Not sure what you try, but if you use standlone grid without to load in tabs - do you have this problem.</p>
<p>Also I do not know the code, but I thinkl you are in infinite recusrion with this script.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 13 Jan 2010 17:48:18 +0200</pubDate>
        </item>
        <item>
        	<title>rnkr09 on grid loading slowly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1#p13813</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-loading-slowly-1#p13813</guid>
        	        	<description><![CDATA[</p>
<p>Hi i have two tabs where first tab is my default tab. when i click 2nd tab i load an external jsp page through a script&#160;</p>
</p>
<p>$(document).ready(addClickHandlers);</p>
<p>function addClickHandlers() {</p>
<p>$(&#8221;a.remoteView&#8221;, this).click(function() {</p>
<p>$(&#8221;#displayDIV&#8221;).load(&#8221;workorder.jsp&#8221;, addClickHandlers);</p>
<p>});</p>
<p>}</p>
<p>Now the work order jsp file loads a grid data using xml response it gets from a servlet specified in the url:property of jqgrid. Now the problem is the grid take about 20 &#8211; 30 seconds to load which i consider is very long. How can i reduce the time it takes to load the grid.</p>
</p>
<p>The workorder code is</p>
</p>
<p>$(document).ready(function(){</p>
<p>jQuery(&#8221;#list&#8221;).jqGrid({</p>
<p>url: &#39;/ams/servlet/getXmlData?q=1&#39;,</p>
<p>datatype: &#8220;xml&#8221;,</p>
<p>&#160;&#160;colNames:[&#39;Complaint No.&#39;,&#39;Apt. No.&#39;, &#39;Name&#39;, &#39;C_Nature&#39;,&#39;C_Desc&#39;,&#39;Phone&#39;,&#39;E-Mail&#39;,&#39;Status&#39;,&#39;Regd. On&#39;,&#39;Regd. By&#39;],</p>
<p>&#160;&#160;colModel:[</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;cno&#39;,index:&#39;1&#39;,width:130,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;ano&#39;,index:&#39;2&#39;,width:100,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;name&#39;,index:&#39;3&#39;,width:100,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;cn&#39;,index:&#39;4&#39;,width:100,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;cd&#39;,index:&#39;5&#39;,width:100,sortable:false,editable:true,edittype:"textarea", editoptions:{rows:"10",cols:"50"}},</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;ph&#39;,index:&#39;6&#39;,width:100,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>&#160;&#160;{name:&#39;mail&#39;,index:&#39;7&#39;,width:100,sortable:false,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;{name:&#39;states&#39;,index:&#39;8&#39;,width:100,editable:true,edittype:"select",editoptions:{value:"open:Open;close:Closed"}},</p>
<p>&#160;<span>&#160;</span>{name:&#39;ron&#39;,index:&#39;9&#39;,width:100,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>{name:&#39;rby&#39;,index:&#39;10&#39;,width:100,editable:true,editoptions:{readonly:true}},</p>
<p>&#160;<span>&#160;</span>],</p>
<p>rowNum:10,</p>
<p>autowidth: true,</p>
<p>rowList:[10,20,30],</p>
<p>pager: jQuery(&#39;#display&#39;),</p>
<p>sortname: &#39;1&#39;,</p>
<p>viewrecords: true,</p>
<p>sortorder: &#8220;desc&#8221;,</p>
<p>loadonce: true,</p>
<p>caption: &#8220;Work Order&#8221;</p>
<p>&#160;&#160;});</p>
<p>});</p>
</p>
<p>Regards,</p>
<p>Karthick</p>
]]></description>
        	        	<pubDate>Wed, 13 Jan 2010 06:28:31 +0200</pubDate>
        </item>
</channel>
</rss>