<?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: jqgrid treegrid problem displaying chidlren</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren</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/jqgrid-treegrid-problem-displaying-chidlren/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>borovikpe on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20394</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20394</guid>
        	        	<description><![CDATA[<p>Thank you, this sounds promising ) But when debugging the addJSONData funtction, I see the "ts.p.treeANode == -1" condition is always true. I have no idea what treeANode field stands for, so I&#39;ll recheck my data I fill the grid with..</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 11:38:09 +0300</pubDate>
        </item>
        <item>
        	<title>onsetrese on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20389</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20389</guid>
        	        	<description><![CDATA[<p><strong>Hi borovikpe,</strong></p>
</p>
<p>I have jqgrid3.8 full and applied <strong>donnazhen patch... that sure work just fine...<br /></strong></p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 04:23:01 +0300</pubDate>
        </item>
        <item>
        	<title>borovikpe on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20382</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20382</guid>
        	        	<description><![CDATA[<p>Unfortunately, your advice didn&#39;t help for me, children nodes are still inserted incorrectly. Could you please share full working jqGrid package (I mean with your patches), so I could test it for my project?</p>
</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Wed, 20 Oct 2010 19:14:23 +0300</pubDate>
        </item>
        <item>
        	<title>sprint20092010 on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20140</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20140</guid>
        	        	<description><![CDATA[<p>It is named <a href="http://www.louboutinshopsale.com/" target="_blank">Christian Louboutin</a> for the reason that man who create <a href="http://www.louboutinshopsale.com/" target="_blank">Christian Louboutin shoes</a>. At the same time, it&#39;s helpful to reduce the risk of injury for the player. If you think your feet should be protected well during the strenuous exercise, the <a href="http://www.louboutinshopsale.com/" target="_blank">Christian Louboutin Pumps</a> are the right choice for you.<br />There are many Cheap <a href="http://www.louboutinshopsale.com/" target="_blank">Christian Louboutin Heels</a> from our shop. If you want to learn more informations of those <a href="http://www.louboutinshopsale.com/christian-louboutin-tall-boots-c-77.html" target="_blank">Christian Louboutin Boots</a>, please visite our website <a href="http://www.louboutinshopsale.com/" rel="nofollow" target="_blank">http://www.louboutinshopsale.com/</a>. Are you looking for a comfortable shoes? We are ready for you to give you great discount <a href="http://www.louboutinshopsale.com/christian-louboutin-sandals-c-75.html" target="_blank">Christian Louboutin Sandals</a> and best service.</p>
]]></description>
        	        	<pubDate>Tue, 05 Oct 2010 11:01:03 +0300</pubDate>
        </item>
        <item>
        	<title>onsetrese on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20097</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20097</guid>
        	        	<description><![CDATA[<p>Thanks guys, I recently updated to jqgrid3.8 full and hoping the problem was fixed with that release only to get dissappointed. Well anyway, this fixes the issue, thanks for sharing.Before,&#160; I implemented the treegrid so that it loads all data at once and it was annoying, it takes time to load.</p>
]]></description>
        	        	<pubDate>Fri, 01 Oct 2010 11:54:38 +0300</pubDate>
        </item>
        <item>
        	<title>Evengard on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20080</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20080</guid>
        	        	<description><![CDATA[<blockquote>
<p>donnazhen said:</p>
</blockquote>
<blockquote>
<p>Yes, I have the same problem. After changing the function&#160;&#39;addJSONData&#39; in grid.base.js, this issue will be gone. The following is what I&#39;ve modified. Hope it can help you.</p>
</blockquote>
<blockquote>
<p>original code:</p>
<p>$(ts.rows[i+fpos+rcnt]).after(row);</p>
</p>
<p>changed to:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;if (ts.p.treeANode == -1)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ts.rows[i+fpos+rcnt]).after(row);<br />&#160;&#160;&#160;&#160;&#160;&#160;else <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ts.rows[i + fpos + rcnt]).before(row);</p>
</blockquote>
<hr />
<p>If you dont want problem with expanding last node, then this code is better:</p>
<p>&#160;&#160; &#160; &#160;if (ts.p.treeANode == -1)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ts.rows[i+fpos+rcnt]).after(row);<br />&#160;&#160;&#160;&#160;&#160;&#160;else&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ts.rows[i + fpos + rcnt-1]).after(row);</p>
</p>
<p>Is it normal that we have to hack component to work with it?</p>
<p>Is this a problem only for adjacency model?</p></p>
]]></description>
        	        	<pubDate>Thu, 30 Sep 2010 13:39:21 +0300</pubDate>
        </item>
        <item>
        	<title>donnazhen on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20022</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p20022</guid>
        	        	<description><![CDATA[<p>Yes, I have the same problem. After changing the function&#160;&#39;addJSONData&#39; in grid.base.js, this issue will be gone. The following is what I&#39;ve modified. Hope it can help you.</p>
</p>
<p>original code:</p>
<p>$(ts.rows[i+fpos+rcnt]).after(row);</p>
</p>
<p>changed to:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;if (ts.p.treeANode == -1)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ts.rows[i+fpos+rcnt]).after(row);<br />&#160;&#160;&#160;&#160;&#160;&#160;else <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ts.rows[i + fpos + rcnt]).before(row);</p>
]]></description>
        	        	<pubDate>Mon, 27 Sep 2010 20:59:54 +0300</pubDate>
        </item>
        <item>
        	<title>aalex675 on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p19524</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p19524</guid>
        	        	<description><![CDATA[<p><span style="color: #888888;">Just wanted to chime in and say that I have the exact same issue. Does anyone know how to resolve this issue?</span></p>
]]></description>
        	        	<pubDate>Fri, 03 Sep 2010 23:37:51 +0300</pubDate>
        </item>
        <item>
        	<title>onsetrese on jqgrid treegrid problem displaying chidlren</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p19480</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/jqgrid-treegrid-problem-displaying-chidlren#p19480</guid>
        	        	<description><![CDATA[<p>First of all, kudos to jqgrid! Great work, very usefull tool...</p>
</p>
<p>Ok, unto the problem I have.</p>
<p>I have a treegrid using adjacency model.</p>
<p>I got everything working, except that, when you click a parent to expand, the data gets inserted below the row next to the parent. I hope I said the right. Let me give a quick sample, say I have</p>
<p>1</p>
<p>2</p>
<p>3</p>
<p>4</p>
<p>5</p>
<p>as top level nodes. When a I click "2", the data/children gets inserted below "3", not between "2" and "3". See below</p>
<p>1</p>
<p>2</p>
<p>3</p>
<p>&#160;&#160;&#160;&#160; 2a</p>
<p>&#160;&#160;&#160;&#160; 2b</p>
<p>&#160;&#160;&#160;&#160; 2c</p>
<p>4</p>
<p>5</p>
</p>
<p>The leveling is also correct. Same thing happens to the childrens chidlren. They get inserted 1 row below where it should be.&#160; I checked the data being sent back and it thus have a correct parent id. Here is another interesting thing happening. When I click the table headers, it sorts as expected and yeah, everything falls in the right place. The children of "2" gets properly placed beneth it after sorting.</p>
</p>
<p>Anyone else experince this? How to fix?</p>
]]></description>
        	        	<pubDate>Thu, 02 Sep 2010 11:20:08 +0300</pubDate>
        </item>
</channel>
</rss>