<?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: Tree Grid and Json</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json</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/tree-grid-and-json/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tim on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10098</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10098</guid>
        	        	<description><![CDATA[<p>ugh. I use mac and only venture to IE if I have to.</p>
<p>I find many IE issues become resolved using the proper doc string. Might be worth checking out, but truthfully I have no real good advice for you with IE <img class="spSmiley" style="margin:0" title="Yell" src="/blog/wp-content/forum-smileys/sf-yell.gif" alt="Yell" /></p>
<p>tim</p>
]]></description>
        	        	<pubDate>Thu, 24 Sep 2009 16:51:19 +0300</pubDate>
        </item>
        <item>
        	<title>Ryan on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10096</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10096</guid>
        	        	<description><![CDATA[<p>Hey there IE7 is so crap. Tim&#39;s example does not work there either.</p>
]]></description>
        	        	<pubDate>Thu, 24 Sep 2009 15:40:50 +0300</pubDate>
        </item>
        <item>
        	<title>tim on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10092</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10092</guid>
        	        	<description><![CDATA[<p>I have a working example here:</p>
<p><a href="http://www.blackstag.com/json-example" rel="nofollow" target="_blank">http://www.blackstag.com/json-example</a></p>
<p>it&#39;s not adjacency, but it shouldn&#39;t matter - since your issues are json related.</p>
<p>just use firebug and look at the console return json data.</p>
<p>tim</p></p>
]]></description>
        	        	<pubDate>Thu, 24 Sep 2009 13:31:29 +0300</pubDate>
        </item>
        <item>
        	<title>fuhrysteve on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10091</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p10091</guid>
        	        	<description><![CDATA[<p>I&#39;m also having difficulty getting the rows to collapse in 3.5.3&#8230; <span style="text-decoration: line-through;">Also, most of the rows are opening with blank data,</span><strong></strong></p>
<p><strong>[Update: turns out I had my levels wrong on that one.. <br />made the row wider, and there were mas my row <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> </strong>]</p>
<p><span style="text-decoration: line-through;">but I am sending my JSON right.. Any clue why this might be?</span></p>
<p>Oops.. wrong amount of fields.</p>
</p>
<pre id="line64"><br /></pre>
]]></description>
        	        	<pubDate>Thu, 24 Sep 2009 12:08:52 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p5384</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p5384</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Update to the latest stable release.</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 17 Mar 2009 00:29:33 +0200</pubDate>
        </item>
        <item>
        	<title>afroz429 on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p5379</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p5379</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I got the adjacency working with json but there&#39;s a small problem. when I expand a node and collapse it, the child nodes dont hide. and clicking expand again duplicates the child nodes. am I missing something here?</p>
<p>Thanks</p>
<p>Afroz</p></p>
]]></description>
        	        	<pubDate>Mon, 16 Mar 2009 14:22:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p3284</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p3284</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Use FireBug to see the response</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 26 Nov 2008 02:01:30 +0200</pubDate>
        </item>
        <item>
        	<title>axilucian on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p3268</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p3268</guid>
        	        	<description><![CDATA[</p>
<p>Thx KG!</p>
<p>This is still not working for me:</p>
<p>to define the grid columns i used:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8021' value='Select Code' data-codeid='sfcode8021' /></p>
<div class='sfcode' id='sfcode8021'>colNames: ["id","Name","Date"],<br />colModel: [<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; {name:&#39;d&#39;,index:&#39;id&#39;, width:1,hidden:true,key:true},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; {name:&#39;name&#39;,index:&#39;name&#39;, width:180},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; {name:&#39;date&#39;,index:&#39;date&#39;, width:50, align:"center"}<br />]</div>
<p>Do I need to add other hidden columns ?</p>
</p>
<p>Thank you!</p>
]]></description>
        	        	<pubDate>Tue, 25 Nov 2008 13:27:37 +0200</pubDate>
        </item>
        <item>
        	<title>KG on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p3264</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p3264</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>$responce-&#62;rows[$i][&#39;cell&#39;]=array($row[&#39;id&#39;],$row[&#39;name&#39;],$row[&#39;date&#39;],false,$leaf,$row[lft],$row[level],$row[rgt]);</p>
<p>}</p>
<p>false here should be a string (put&#160;quotation marks) and it worked well for me.</p>
<p>K</p></p>
]]></description>
        	        	<pubDate>Tue, 25 Nov 2008 09:42:12 +0200</pubDate>
        </item>
        <item>
        	<title>axilucian on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p2955</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p2955</guid>
        	        	<description><![CDATA[<p>I&#39;m getting a error Type: parsererror; Response: 200 OK using:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2262' value='Select Code' data-codeid='sfcode2262' /></p>
<div class='sfcode' id='sfcode2262'>
<p>$responce-&#62;page = 1;<br />$responce-&#62;total = 1;<br />$responce-&#62;records = 1;<br />foreach($rows as $row) {&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160; if($row[rgt] == $row[lft]+1) $leaf = &#39;true&#39;;else $leaf=&#39;false&#39;;<br />&#160;&#160;&#160;&#160;&#160; $responce-&#62;rows[$i][&#39;cell&#39;]=array($row[&#39;id&#39;],$row[&#39;name&#39;],$row[&#39;date&#39;],false,$leaf,$row[lft],$row[level],$row[rgt]);</p>
<p>}</p>
<p>echo json_encode($responce);&#160;</p>
</div>
<p>where the grid columns are id(hidden),name,date</p>
<p>tried also with:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5116' value='Select Code' data-codeid='sfcode5116' /></p>
<div class='sfcode' id='sfcode5116'>
<p>$responce-&#62;rows[$i][&#39;cell&#39;]=array($row[&#39;id&#39;],$row[&#39;name&#39;],$row[&#39;date&#39;],$row[level],$row[lft],$row[rgt],$leaf,false);</p>
</div>
<p>after the xml format from your example.</p>
<p>Usign XML works fine,&#160;w/ json I miss something, but i can&#39;t figure out... 😐</p>
<p>Thanks! I apreciate your help!</p>
]]></description>
        	        	<pubDate>Thu, 06 Nov 2008 10:05:20 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p2948</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p2948</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There is no example, but if you follow the rules, you can easy configure</p>
<p>this adding in the json data the needed fields</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 06 Nov 2008 02:08:40 +0200</pubDate>
        </item>
        <item>
        	<title>axilucian on Tree Grid and Json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p2934</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/tree-grid-and-json#p2934</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Is there any example of loading a treeGrid with json data?</p>
<p>Thanks!</p>
<p>Great job, Tony!</p>
]]></description>
        	        	<pubDate>Wed, 05 Nov 2008 14:54:54 +0200</pubDate>
        </item>
</channel>
</rss>