<?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: adjacency treegrid with large data sets</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-with-large-data-sets</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/treegrid/adjacency-treegrid-with-large-data-sets/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>doomsayer16 on adjacency treegrid with large data sets</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-with-large-data-sets#p20689</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-with-large-data-sets#p20689</guid>
        	        	<description><![CDATA[<p>In the getNodeParent function</p>
<p>this block of code below suggest that searching for the parent object uses bubble sort.</p>
<p>var parent_id = $t.p.treeReader.parent_id_field;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$(this.p.data).each(function(i,val){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if(this.id == rc[Parent_Id] ) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;result = this;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return false;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});</p>
</p>
<p>I think it would be faster if MAP of object is created and the id will be used as key</p>
]]></description>
        	        	<pubDate>Mon, 08 Nov 2010 12:02:04 +0200</pubDate>
        </item>
        <item>
        	<title>doomsayer16 on adjacency treegrid with large data sets</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-with-large-data-sets#p20687</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-with-large-data-sets#p20687</guid>
        	        	<description><![CDATA[<p>In IE, It seems that when you load large data set with depth of 4-5, a&#160; script will appear "A script on this page is causing Internet Explorer to run slowly.  If it continues to run, your computer may become unresponsive".</p>
<p>jqgrid will exceed the maximum number of script that IE allows.</p>
</p>
<p>I tried to study the source code, and i think that the function getNodeParent will be called for each item.</p>
<p>the function getNodeParent will be called recursively.</p>
</p>
<p>do you have suggestion on how to fix this?</p>
]]></description>
        	        	<pubDate>Mon, 08 Nov 2010 10:33:25 +0200</pubDate>
        </item>
</channel>
</rss>