<?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: Too much recursion when collapse row</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row</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/too-much-recursion-when-collapse-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>arcturus on Too much recursion when collapse row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p11554</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p11554</guid>
        	        	<description><![CDATA[<p>Brilliant! Thanks for finding that Tony and hands up <img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" />&#160;it was my data that was at fault.&#160; In this particular data set there is a marriage between two second cousins and hence the family occurs twice, once in each branch of the family. I&#39;ll have to find a way to differentiate the IDs.</p>
</p>
<p>Thank you for a great plugin and the support is 1st class too <img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
]]></description>
        	        	<pubDate>Thu, 05 Nov 2009 10:39:27 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Too much recursion when collapse row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p11507</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p11507</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I found your problem and the cause.</p>
<p>In your xml data you have equal id &#8211; example</p>
<p>The name:&#160; Sirius Black ( b. 7 Aug 1959 d. Jun 1996)</p>
<p>once you have</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6452' value='Select Code' data-codeid='sfcode6452' /></p>
<div class='sfcode' id='sfcode6452'>
<p>&#60;row&#62;<br />&#60;cell&#62;ind00009&#60;/cell&#62;<br />&#60;cell&#62;Sirius Black ( b. 7 Aug 1959 d. Jun 1996)&#60;/cell&#62;<br />&#60;cell&#62;15&#60;/cell&#62;<br />&#60;cell&#62;fam00007Children&#60;/cell&#62;<br />&#60;cell&#62;true&#60;/cell&#62;<br />&#60;cell&#62;true&#60;/cell&#62;<br />&#60;/row&#62;</p>
</p>
</div>
<p>And the same second time</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3785' value='Select Code' data-codeid='sfcode3785' /></p>
<div class='sfcode' id='sfcode3785'>
<p>&#60;row&#62;<br />&#60;cell&#62;ind00009&#60;/cell&#62;<br />&#60;cell&#62;Sirius Black ( b. 7 Aug 1959 d. Jun 1996)&#60;/cell&#62;<br />&#60;cell&#62;15&#60;/cell&#62;<br />&#60;cell&#62;fam00007Children&#60;/cell&#62;<br />&#60;cell&#62;true&#60;/cell&#62;<br />&#60;cell&#62;true&#60;/cell&#62;<br />&#60;/row&#62;</p>
</p>
</div>
<p>This coause infine loop of the recursion.</p>
<p>In order to correct&#160; &#8211; EVERY ITEM in the xml SHOULD HAVE UNIQUIE ID and correct setting of parent node.</p>
<p>In terms of jqGrid this is not valid xml tree data.</p>
<p>If you notice you can not select some nodes in the tree, because of the reason listed above</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 04 Nov 2009 23:08:55 +0200</pubDate>
        </item>
        <item>
        	<title>arcturus on Too much recursion when collapse row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p11488</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p11488</guid>
        	        	<description><![CDATA[<p>I too am suffering with the &#39;too much recursion&#39; problem with Firefox when I collapse&#160;certain branches of a deep&#160;tree grid.&#160; IE8 gives an &#39;Out of Memory&#39; error. Small branches can be closed successfully.</p>
<p>I tried the above fix with jqGrid 3.5.3 but no joy so I then tried jqGrid 3.6beta and I noted that the above fix had been included but with additional changes to the function. But alas the error still occurs.</p>
<p>I&#39;m new to jquery &#38; even newer to jqgrid as this is my first foray with it&#160;so perhaps I am not using it correctly.</p>
<p>The grid at <a href="http://familytrees.genopro.com/Ron/HarryPotter/Black/DescendantTree.htm" rel="nofollow" target="_blank"><a href="http://familytrees.genopro.com" rel="nofollow">http://familytrees.genopro.com</a>.....ntTree.htm</a> exhibits the problem.</p>
</p>
<p>I tried to diagnose the problem using FireBug without success. I suspect it is a problem with getNodeChildren function</p>
</p>
<p>Any help appreciated. <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
]]></description>
        	        	<pubDate>Wed, 04 Nov 2009 09:52:54 +0200</pubDate>
        </item>
        <item>
        	<title>bigup on Too much recursion when collapse row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p10875</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/too-much-recursion-when-collapse-row#p10875</guid>
        	        	<description><![CDATA[<p>hi ! I &#39;m french so sorry for my approximative english</p>
<p>I deteced a error in treegrid , i receive the error "too much recursion in firefox" or "out of memory in IE". I resolve this by add a condition in the function collpaseRow in the treegrid object :</p>
<p><em><span style="color: #ff0000;">collapseRow</span>: function(record) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.each(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var $t = this;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!$t.grid &#124;&#124; !$t.p.treeGrid) { return; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var childern = $($t).getNodeChildren(record);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(childern).each(function(i) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(this).css("display", "none");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color: #ff0000;">&#160;<strong> if(this.expanded)</strong></span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $($t).collapseRow(this);<br />&#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; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</em></p>
</p>
<p>Bye</p>
]]></description>
        	        	<pubDate>Tue, 20 Oct 2009 06:29:44 +0300</pubDate>
        </item>
</channel>
</rss>