<?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: Can't get tree grid to display my tree.</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/cant-get-tree-grid-to-display-my-tree</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/cant-get-tree-grid-to-display-my-tree/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>phamtranquocviet on Can't get tree grid to display my tree.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/cant-get-tree-grid-to-display-my-tree#p17893</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/cant-get-tree-grid-to-display-my-tree#p17893</guid>
        	        	<description><![CDATA[<p>I switched to xml, and it works fine. Reading other posts seems like datatype = json is having some issue.</p>
]]></description>
        	        	<pubDate>Sun, 13 Jun 2010 01:29:43 +0300</pubDate>
        </item>
        <item>
        	<title>phamtranquocviet on Can't get tree grid to display my tree.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/cant-get-tree-grid-to-display-my-tree#p17865</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/cant-get-tree-grid-to-display-my-tree#p17865</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>My treegrid shows only the title bar and the header of the grid (My Hierarchy in this case), and Firefox console shows the following errors (in bold below) on initial load of a treegrid. What am I missing? Please help.</p>
<p>$(document).ready<br />(<br />&#160;&#160; &#160;function()<br />&#160;&#160; &#160;{<br />&#160;&#160; &#160;&#160;&#160; &#160;var hier = $(&#39;#hier&#39;).jqGrid<br />&#160;&#160; &#160;&#160;&#160; &#160;(<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url: &#39;index.php?func=hier&#38;aAction=loaddata&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;dataType: &#39;json&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mType: &#39;post&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;height: &#39;auto&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;pager: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;loadui: &#39;disable&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;caption: &#39;My Hierarchy&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;treeGrid: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;treeGridModel: &#39;nested&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;ExpandColumn: &#39;Name&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;autowidth: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;rowNum: -1,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;ExpandColClick: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;treeIcons: {leaf:&#39;ui-icon-document-b&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colNames: [&#39;UserID&#39;, &#39;MemId&#39;, &#39;SaleId&#39;, &#39;HierId&#39;, &#39;My Hierarchy&#39;,&#39;Url&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel: <br />&#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;{name: &#39;UserId&#39;, width:1, hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;MemId&#39;, width:1, hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;SaleId&#39;, width:1, hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;HierId&#39;, width:1, hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;Name&#39;, width:150, resizable: false, sortable:false},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;Url&#39;, width:1, hidden:true}<br />&#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;loadError : function(xhr, status, error) <br />&#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;console.log(status); =&#62; Output = <strong>parseerror</strong><br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;console.log(error); =&#62; Output = <strong><a class="objectLink objectLink-object a11yFocus " target="_blank">TypeError: a is null { message="a is null",  more...}</a>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}</strong><br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;);<br />&#160;&#160;&#160; }<br />);</p>
</p>
<p>Here is my initial response from server:</p>
<div class="netInfoResponseText netInfoText ">
<pre><p><input type='button' class='sfcodeselect' name='sfselectit3186' value='Select Code' data-codeid='sfcode3186' /></p><div class='sfcode' id='sfcode3186'>{"page":1,"total":1,"records":1,"rows":{"2":{"cell":["2","2","1","1","QUYEN NGUYEN","http:yahoo.com"</div><p><input type='button' class='sfcodeselect' name='sfselectit2368' value='Select Code' data-codeid='sfcode2368' /></p><div class='sfcode' id='sfcode2368'>,"0","1","4","false","false"]},"1":{"cell":["1","1","55","55","VIET PHAM","http:yahoo.com","1","2","3"</div><p><input type='button' class='sfcodeselect' name='sfselectit7710' value='Select Code' data-codeid='sfcode7710' /></p><div class='sfcode' id='sfcode7710'>,"true","false"]}}}</div></pre>
</div>
]]></description>
        	        	<pubDate>Fri, 11 Jun 2010 01:52:55 +0300</pubDate>
        </item>
</channel>
</rss>