<?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: TreeGrid Adjacency Model: Load More than one branch with depth &#62; 1 simultaneously</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-adjacency-model-load-more-than-one-branch-with-depth-1-simultaneously</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/treegrid-adjacency-model-load-more-than-one-branch-with-depth-1-simultaneously/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Carlo on TreeGrid Adjacency Model: Load More than one branch with depth &#62; 1 simultaneously</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-adjacency-model-load-more-than-one-branch-with-depth-1-simultaneously#p22982</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-adjacency-model-load-more-than-one-branch-with-depth-1-simultaneously#p22982</guid>
        	        	<description><![CDATA[<p>PROBLEM SOLVED</p>
<p>While searching through the forum I found this thread giving me a hint what I was doing wrong</p>
<p>/blog/?page_id=393/treegrid/treegrid-20-rows-limit/</p>
</p>
<p>I had to set the <span style="color: #008000;"><strong><em>rowNum</em></strong></span> attribute to a higher value to display the missing records.</p>
<p>In case of my example rowNum was 8, limiting the number of records that could be loaded per request.</p>
<p>Since I&#39;m not the first one to run into this, I would consider to update the TreeGrid Documentation and give a hint that even in TreeGrid Mode the rowNum attribute limits the number of records that can be loaded.</p>
</p>
<p>Greetings Carlo</p>
]]></description>
        	        	<pubDate>Fri, 29 Apr 2011 15:10:09 +0300</pubDate>
        </item>
        <item>
        	<title>Carlo on TreeGrid Adjacency Model: Load More than one branch with depth &#62; 1 simultaneously</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-adjacency-model-load-more-than-one-branch-with-depth-1-simultaneously#p22977</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-adjacency-model-load-more-than-one-branch-with-depth-1-simultaneously#p22977</guid>
        	        	<description><![CDATA[<p>Hi Folks,</p>
</p>
<p>A TreeGrid with Adjacency Model like this</p>
<p style="padding-left: 30px; ">[+] <span style="color: #008000;">Root</span></p>
<p>has to be expanded to this Tree just by expanding the Root element:</p>
<p style="padding-left: 30px;">[-] <span style="color: #008000;">Root</span></p>
<p style="padding-left: 30px; ">&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>[-] <span style="color: #008080;">Branch 1</span></p>
<p style="padding-left: 30px;">&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;[+]&#160;Branch 1.2</span></p>
<p style="padding-left: 30px;">&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;`&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>Leaf 1.1</p>
<p style="padding-left: 30px; ">&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[-] <span style="color: #3366ff;">Branch 2</span></p>
<p style="padding-left: 30px; ">&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Leaf 2.1</p>
<p style="padding-left: 30px; ">&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;`&#160;&#160;&#160;&#160;&#160;&#160;&#160;Leaf 2.2</p>
<p style="padding-left: 30px;">`&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[-] <span style="color: #800080;">Branch 3</span></p>
<p style="padding-left: 60px;">&#160;&#160;&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>Leaf 3.1</p>
<p style="padding-left: 60px;">&#160;&#160;` &#160; &#160; &#160; Leaf 3.2</p>
<p style="padding-left: 60px;">&#160;</p>
<p><span style="color: #ff0000;">Note that the contents of the branches are loaded in one request.</span></p>
<p>{</p>
<p style="padding-left: 30px; ">"rows":[</p>
<p style="padding-left: 60px; "><span style="color: #008080;">{"id":"B1","cell":["Branch 1",1,"0",false,true]}</span></p>
<p style="padding-left: 90px; ">{"id":"B12&#8243;,"cell":["Branch 1.2",2,"B1",false,false]}</p>
<p style="padding-left: 90px; ">{"id":"L11&#8243;,"cell":["Leaf 1.1",2,"B1",true,false]}</p>
<p style="padding-left: 60px; "><span style="color: #3366ff;">{"id":"B2&#8243;,"cell":["Branch 2",1,"0",false,true]}</span></p>
<p style="padding-left: 90px; ">{"id":"L21&#8243;,"cell":["Leaf 2.1",2,"B2",true,false]}</p>
<p style="padding-left: 90px; ">{"id":"L22&#8243;,"cell":["Leaf 2.2",2,"B2",true,false]}</p>
<p style="padding-left: 60px; "><span style="color: #800080;">{"id":"B3&#8243;,"cell":["Branch 3",1,"0",false,true]}</span></p>
<p style="padding-left: 90px; ">{"id":"L31&#8243;,"cell":["Leaf 3.1",2,"B3",true,false]}</p>
<p style="padding-left: 90px; ">{"id":"L32&#8243;,"cell":["Leaf 3.2",2,"B3",true,false]}</p>
<p style="padding-left: 30px; ">]</p>
<p>}</p>
</p>
<p>The result I&#39;m getting is the following:</p>
<p style="padding-left: 30px;">[-] <span style="color: #008000;">Root</span></p>
<p style="padding-left: 30px; ">&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>[-] <span style="color: #008080;">Branch 1</span></p>
<p style="padding-left: 30px;">&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;[+]&#160;Branch 1.2</span></p>
<p style="padding-left: 30px;">&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;`&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>Leaf 1.1</p>
<p style="padding-left: 30px; ">&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[-] <span style="color: #3366ff;">Branch 2</span></p>
<p style="padding-left: 30px; ">&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Leaf 2.1</p>
<p style="padding-left: 30px; ">&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;`&#160;&#160;&#160;&#160;&#160;&#160;&#160;Leaf 2.2</p>
<p style="padding-left: 30px;">`&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[-] <span style="color: #800080;">Branch 3</span></p>
<p style="padding-left: 60px;">&#160;&#160;&#124;<span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span>Leaf 3.1</p>
<p style="padding-left: 60px;">&#160;<span style="color: #ff0000;">&#160;` &#160; &#160; &#160; Leaf 3.2 &#60;&#8212;&#8211; MISSING</span></p>
</p>
<p>Is the adjacency model not suited for loading more than one level at the Time or is this a Bug?</p>
</p>
<p>Greetings Carlo</p>
<p> EDIT: I&#39;m using JQGrid 3.8.2</p></p>
]]></description>
        	        	<pubDate>Fri, 29 Apr 2011 12:40:55 +0300</pubDate>
        </item>
</channel>
</rss>