<?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: Nested Json, not getting populated in the Grid.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/nested-json-not-getting-populated-in-the-grid</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/help/nested-json-not-getting-populated-in-the-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>brokentools on Nested Json, not getting populated in the Grid.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/nested-json-not-getting-populated-in-the-grid#p14335</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/nested-json-not-getting-populated-in-the-grid#p14335</guid>
        	        	<description><![CDATA[<p>oops! Got it here - <a href="http://www.trirand.com/blog/?page_id=393/help/jsonreader-dot-notation/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....-notation/</a></p>
</p>
<p>Ignore me!<img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" /></p>
]]></description>
        	        	<pubDate>Thu, 28 Jan 2010 13:55:27 +0200</pubDate>
        </item>
        <item>
        	<title>brokentools on Nested Json, not getting populated in the Grid.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/nested-json-not-getting-populated-in-the-grid#p14334</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/nested-json-not-getting-populated-in-the-grid#p14334</guid>
        	        	<description><![CDATA[<p>Hi all,</p>
<p>I&#39;ve linked up my question with this post - <a href="http://www.trirand.com/blog/?page_id=393/help/ccur-is-undefined/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....undefined/</a> . But getting a little impatient and worried that people might not look at older posts.&#160; Can you please tell me what&#39;s wrong with this json and this jsonreader? For some reason i&#39;m not able to populate the grid with actual data although i have the correct number of rows.</p>
<p>my json looks like this and is a valid json</p>
</p>
<p>{<br />&#160;&#160;&#160; "records": 4,<br />&#160;&#160;&#160; "total": 5,<br />&#160;&#160;&#160; "rows": [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "cell": {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "lastname": "V",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "_type": "User",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "uid": "u11",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "firstname": "Megha" <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "cell": {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "lastname": "V",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "_type": "User",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "uid": "u12",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "firstname": "Prashant" <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "cell": {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "lastname": "A",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "_type": "User",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "uid": "u1",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "firstname": "Shalini" <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "cell": {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "lastname": "V",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "_type": "User",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "uid": "u0",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "firstname": "Megha" <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160; ]<br />}</p>
</p>
<p>This is my grid description -</p>
<p>$(document).ready(function(){<br />// This is a basic jqGrid with a navGrid (that adds a search button)<br />&#160;&#160;&#160; jQuery(&#39;#list&#39;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#39;/user/get_users/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;colNames: [&#39;First Name&#39;,&#39;Last Name&#39;,&#39;UID&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name: &#39;firstname&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index: &#39;firstname&#39;<br />&#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;lastname&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index: &#39;lastname&#39;<br />&#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;uid&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index: &#39;uid asc, invdate&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }],<br />&#160;&#160; &#160;jsonReader : {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;root: "rows",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;page: "page",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;total: "total",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;records: "records", &#160;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repeatitems: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;cell: "cell",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;id: "id",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;userdata: "userdata",&#160;&#160; &#160;<br />&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 700,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;uid&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "Users"<br />&#160;&#160;&#160; }).navGrid("#pager",{edit:false,add:false,del:false},{},{width:200},{});<br />});</p>
]]></description>
        	        	<pubDate>Thu, 28 Jan 2010 13:46:08 +0200</pubDate>
        </item>
</channel>
</rss>