<?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: json formatting help</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/json-formatting-help</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/json-formatting-help/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on json formatting help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-formatting-help#p30921</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-formatting-help#p30921</guid>
        	        	<description><![CDATA[<blockquote>
<p>
Better yet, is there a way to call a jQuery function after the json call, but before the grid renders the data so that I can convert the json to the proper format expected by jqGrid???</p>
</blockquote>
<p>See docs.</p>
<p>Â </p>
<p>Your json have two data tags, which is a little bit confused. Correct this and maybe you will get the data rigth.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 01 Aug 2014 18:46:04 +0300</pubDate>
        </item>
        <item>
        	<title>_Chris on json formatting help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-formatting-help#p30905</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-formatting-help#p30905</guid>
        	        	<description><![CDATA[<p>My returned json looks like this:</p>
<p>{"SUCCESS":true,"ERRORS":[],"DATA":{"COLUMNS":["COL_ID","COL_NAME"],"DATA":[["B5E34D73-955D-AB23-9D0D-3BF6C4FF4505","Test Name 1"],["D9A3A435-EACE-073F-1ABC-050BD038D23C","Test Name 2"]]}}</p>
<p>Â </p>
<p>So I tried this:</p>
<p>"jsonReader":{root:"DATA","repeatitems":false,"subgrid":{"repeatitems":false}},</p>
<p>"colModel":[{"name":"","index":"1","jsonmap":"data","sorttype":"text","width":80,"editable":true}],</p>
<p>Â </p>
<p>I suspect that the problem is that my column names and data are separated in the json response -- how do I handle this in jqGrid?</p>
<p>Â </p>
<p>OR</p>
<p>Â </p>
<p>Better yet, is there a way to call a jQuery function after the json call, but before the grid renders the data so that I can convert the json to the proper format expected by jqGrid???</p>
]]></description>
        	        	<pubDate>Tue, 29 Jul 2014 17:36:20 +0300</pubDate>
        </item>
</channel>
</rss>