<?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--Help Needed</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/json-help-needed</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-help-needed/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bhogsett on JSON--Help Needed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-help-needed#p22287</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-help-needed#p22287</guid>
        	        	<description><![CDATA[<p>I have looked through the documentation, read the forum, searched the net and cannot figure out how to get json data into my grid.</p>
</p>
<p>The data currently looks like this:</p>
<p>{"page":1,"total":24,"records":473,"rows":[{"id":"0","cell":[" Weather  Data Method","Using testtag.php which is the traditional method to get  the weather information data from Weather  Display."]},{"id":"1","cell":["apparentsolartemp","22.5"]},{"id":"2","cell":["apparentsolartempc","-5.3"]},{"id":"3","cell":["apparentsolartempf","22.5"]},{"id":"4","cell":["apparenttemp","22.5"]},{"id":"5","cell":["apparenttempc","-5.3"]},{"id":"6","cell":["apparenttempf","22.5"]},{"id":"7","cell":["avgspd","0.0   mph"]},{"id":"8","cell":["avrainapr","1.15"]},{"id":"9","cell":["avrainaprnow","3.24"]},{"id":"10","cell":["avrainaug","0.38"] ...</p>
</p>
<p>I have tried other formats.</p>
<p>colModel:[ <br />&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:55}, <br />&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;Item&#39;,index:&#39;item&#39;, width:290}, <br />&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;Value&#39;,index:&#39;value asc&#39;, width:300}<br />&#160;&#160; &#160;], <br />&#160;&#160; &#160;rowNum:20, <br />&#160;&#160; &#160;rowList:[20,40,60], <br />&#160;&#160; &#160;pager: &#39;#pager2&#39;, <br />&#160;&#160; &#160;sortname: &#39;id&#39;, <br />&#160;&#160; &#160;viewrecords: true, <br />&#160;&#160; &#160;sortorder: "asc", <br />&#160;&#160; &#160;caption:"The Information" <br />&#160;&#160; &#160;}); <br />&#160;&#160; &#160;jsonReader: { root:"rows", cell:"cell" };</p>
<p>I suppose the problem is that the column names are not in the json data so jqGrid cannot find the data, but I don&#39;t see how to get them into the json.</p>
<p>Any suggestions wlll be appreciated.</p>
</p>
<p>Bill</p>
]]></description>
        	        	<pubDate>Thu, 03 Mar 2011 01:15:47 +0200</pubDate>
        </item>
</channel>
</rss>