<?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: Displaying Data from JSON that references another object</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-data-from-json-that-references-another-object</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/displaying-data-from-json-that-references-another-object/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Displaying Data from JSON that references another object</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-data-from-json-that-references-another-object#p31254</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/displaying-data-from-json-that-references-another-object#p31254</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Look for jsonmap property in colModel or change your jsonReader.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 21 Oct 2014 16:58:33 +0300</pubDate>
        </item>
        <item>
        	<title>trishasales on Displaying Data from JSON that references another object</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-data-from-json-that-references-another-object#p31210</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/displaying-data-from-json-that-references-another-object#p31210</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have the following JSON string being parsed for the colModel:</p>
<p>Â </p>
<div class="sfcode">
<pre class="brush-javascript syntax">[{"attributes":{"type":"Contact","url":"/services/data/v32.0/sobjects/Contact/003o0000004FNNiAAO"},"Name":"Rose Gonzalez","AccountId":"001o00000051kLSAAY","Account":{"attributes":{"type":"Account","url":"/services/data/v32.0/sobjects/Account/001o00000051kLSAAY"},"Name":"Edge Communications","Id":"001o00000051kLSAAY"},"Id":"003o0000004FNNiAAO"}]</pre></div><pre>The colModel goes like this:</p>
<div class="sfcode">
<pre class="brush-javascript syntax">colNames:['ID','Name','Account','Email','Mailing State'],
 colModel:[
 {name:'Id',index:'Id'},
 {name:'Name',index:'Name'},
 {name:'Account',index:'Account'},
 {name:'Email',index:'Email'},
 {name:'State',index:'State'}
 ],</pre></div><p>However, when the grid renders it displays <strong>[object Object] </strong>on the Account Column. How will I make it such that the Account Column should display the Account <strong>Name</strong> on the Account Column?</p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2014 21:46:32 +0300</pubDate>
        </item>
</channel>
</rss>