<?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: jqGrid refuses to show Json data - config very similar to examples</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-refuses-to-show-json-data-config-very-similar-to-examples</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/jqgrid-refuses-to-show-json-data-config-very-similar-to-examples/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>alexgreatmk on jqGrid refuses to show Json data - config very similar to examples</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-refuses-to-show-json-data-config-very-similar-to-examples#p26010</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-refuses-to-show-json-data-config-very-similar-to-examples#p26010</guid>
        	        	<description><![CDATA[<p>Fixed it the manual way... build a data structure that conforms to jqGrid&#39;s requirements explicitly.</p>
</p>
<p>Moving on.</p>
]]></description>
        	        	<pubDate>Sat, 25 Feb 2012 05:53:02 +0200</pubDate>
        </item>
        <item>
        	<title>alexgreatmk on jqGrid refuses to show Json data - config very similar to examples</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-refuses-to-show-json-data-config-very-similar-to-examples#p25999</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-refuses-to-show-json-data-config-very-similar-to-examples#p25999</guid>
        	        	<description><![CDATA[</p>
<p>I&#39;ll try to be concise.</p>
<p>Configuration:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit448' value='Select Code' data-codeid='sfcode448' /></p>
<div class='sfcode' id='sfcode448'>
<p>$(&#34;#tblLines&#34;).jqGrid({</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>datatype: &#34;json&#34;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>url: &#39;@Url.Action(&#34;MyAction&#34;, new {rows = 5, page = 0})&#39;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>jsonReader: {   repeatItems: true,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>root: &#34;invdata&#34;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>page: &#34;currpage&#34;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>total: &#34;totalpages&#34;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>record: &#34;totalrecords&#34;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>cell: &#34;&#34;,</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>id: &#34;Id&#34;</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>},</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>colModel: [</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Id&#39;, editable: true, sortable: false, hidden: true },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val1&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val2&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val3&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val4&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val5&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val6&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>{ name: &#39;Val7&#39;, editable: true, sortable: false, hidden: false },</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>],</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>rownum: 0</p>
<p><span style=&#34;&#34;white-space:pre&#34;&#34;> </span>});</p>
</div>
<p>JSON returned by &#39;MyAction&#39;:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9195' value='Select Code' data-codeid='sfcode9195' /></p>
<div class='sfcode' id='sfcode9195'>
<p>{&#34;totalpages&#34;:1,</p>
<p>&#160;&#34;currpage&#34;:1,</p>
<p>&#160;&#34;totalrecords&#34;:10,</p>
<p>&#160;&#34;invdata&#34;:[</p>
<p>&#160; &#160;{&#34;Id&#34;:0,&#34;Val1&#34;:1,&#34;Val2&#34;:2,&#34;Val3&#34;:3,&#34;Val4&#34;:4,&#34;Val5&#34;:5,&#34;Val6&#34;:6,&#34;Val7&#34;:7,&#34;OtherProp&#34;:null},</p>
<p>&#160; &#160;{&#34;Id&#34;:1,&#34;Val1&#34;:1,&#34;Val2&#34;:2,&#34;Val3&#34;:3,&#34;Val4&#34;:4,&#34;Val5&#34;:5,&#34;Val6&#34;:6,&#34;Val7&#34;:7,&#34;OtherProp&#34;:null},</p>
<p>&#160; &#160;{&#34;Id&#34;:2,&#34;Val1&#34;:1,&#34;Val2&#34;:2,&#34;Val3&#34;:3,&#34;Val4&#34;:4,&#34;Val5&#34;:5,&#34;Val6&#34;:6,&#34;Val7&#34;:7,&#34;OtherProp&#34;:null}]</p>
<p>}</p>
</div>
<p>The JSON is produced by a .NET library (so not manually).&#160;</p>
</p>
<p>I was trying to follow the examples as closely as possible, but still nothing.</p>
</p>
<p>Any ideas?</p>
</p>
<p>Btw&#8230; good job with the product &#8211; I can see this to be an invaluable tool once I get past this nuisance.&#160;</p>
</p>
<p>Thanks!</p>
<p>M</p>
]]></description>
        	        	<pubDate>Thu, 23 Feb 2012 06:09:42 +0200</pubDate>
        </item>
</channel>
</rss>