<?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: Can't get jqgrid to read json data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data</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/cant-get-jqgrid-to-read-json-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jgalak on Can't get jqgrid to read json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29403</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29403</guid>
        	        	<description><![CDATA[<p>Thank you!</p>
</p>
<p>I thought it was something stupid... Sigh...</p>
]]></description>
        	        	<pubDate>Tue, 27 Aug 2013 04:41:06 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Can't get jqgrid to read json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29393</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29393</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>You have a typo in grid parameters:</p>
</p>
<p>Change</p>
<p><em>dataype: "json",</em> to</p>
<p> <strong>datatype: "json",<br /></strong></p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 26 Aug 2013 08:27:04 +0300</pubDate>
        </item>
        <item>
        	<title>jgalak on Can't get jqgrid to read json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29392</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29392</guid>
        	        	<description><![CDATA[<p>If it&#39;s easier, you can hit the page "live".&#160; The grid is here: <a href="http://173.2.2.155:2222/phils/jq" rel="nofollow" target="_blank">http://173.2.2.155:2222/phils/jq</a></p></p>
]]></description>
        	        	<pubDate>Sun, 25 Aug 2013 22:28:22 +0300</pubDate>
        </item>
        <item>
        	<title>jgalak on Can't get jqgrid to read json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29391</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-jqgrid-to-read-json-data#p29391</guid>
        	        	<description><![CDATA[<p>Still struggling to learn jqgrid, not sure why I&#39;m having so much trouble.&#160; Got it working in one instance, and totally not working in another, though the code seems to be almost identical.&#160; Here&#39;s the code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1360' value='Select Code' data-codeid='sfcode1360' /></p>
<div class='sfcode' id='sfcode1360'>
<pre id=&#34;line1&#34;></pre>
<pre id=&#34;line1&#34;>&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#34;&#038;gt;
&#60;html xmlns=&#34;<a class=&#34;attribute-value&#34; target="_blank">http://www.w3.org/1999/xhtml</a>&#34; xml:lang=&#34;<a class=&#34;attribute-value&#34; target="_blank">en</a>&#34; lang=&#34;<a class=&#34;attribute-value&#34; target="_blank">en</a>&#34;&#62;
&#60;head&#62;
    &#60;meta http-equiv=&#34;<a class=&#34;attribute-value&#34; target="_blank">Content-Type</a>&#34; content=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/html; charset=utf-8</a>&#34; /&#62;
    &#60;meta http-equiv=&#34;<a class=&#34;attribute-value&#34; target="_blank">X-UA-Compatible</a>&#34; content=&#34;<a class=&#34;attribute-value&#34; target="_blank">IE=edge</a>&#34; /&#62;
    &#60;title&#62;My First Grid&#60;/title&#62;

    &#60;link rel=&#34;<a class=&#34;attribute-value&#34; target="_blank">stylesheet</a>&#34; type=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/css</a>&#34; media=&#34;<a class=&#34;attribute-value&#34; target="_blank">screen</a>&#34; href=&#34;<a class=&#34;attribute-value&#34; href=&#34;/blog/view-source:http:/192.168.1.70/phils/jsgrid/css/ui-lightness/jquery-ui-1.10.3.custom.css&#34; target="_blank">http://192.168.1.70/phils/jsgr.....custom.css</a>&#34; /&#62;
    &#60;link rel=&#34;<a class=&#34;attribute-value&#34; target="_blank">stylesheet</a>&#34; type=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/css</a>&#34; media=&#34;<a class=&#34;attribute-value&#34; target="_blank">screen</a>&#34; href=&#34;<a class=&#34;attribute-value&#34; href=&#34;/blog/view-source:http:/192.168.1.70/phils/jsgrid/css/ui.jqgrid.css&#34; target="_blank">http://192.168.1.70/phils/jsgr.....jqgrid.css</a>&#34; /&#62;

    &#60;style&#62;
        html, body {
            margin: 0;
            padding: 0;
            font-size: 75%;
        }
    &#60;/style&#62;

    &#60;script src=&#34;<a class=&#34;attribute-value&#34; href=&#34;/blog/view-source:http:/192.168.1.70/phils/jsgrid/js/jquery-1.9.0.min.js&#34; target="_blank">http://192.168.1.70/phils/jsgr.....9.0.min.js</a>&#34; type=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/javascript</a>&#34;&#62;&#60;/script&#62;
    &#60;script src=&#34;<a class=&#34;attribute-value&#34; href=&#34;/blog/view-source:http:/192.168.1.70/phils/jsgrid/js/i18n/grid.locale-en.js&#34; target="_blank">http://192.168.1.70/phils/jsgr.....cale-en.js</a>&#34; type=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/javascript</a>&#34;&#62;&#60;/script&#62;
    &#60;script src=&#34;<a class=&#34;attribute-value&#34; href=&#34;/blog/view-source:http:/192.168.1.70/phils/jsgrid/js/jquery.jqGrid.min.js&#34; target="_blank">http://192.168.1.70/phils/jsgr.....rid.min.js</a>&#34; type=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/javascript</a>&#34;&#62;&#60;/script&#62;

    
    &#60;script type=&#34;<a class=&#34;attribute-value&#34; target="_blank">text/javascript</a>&#34;&#62;
        $(function()
        {
            $(&#34;#list&#34;).jqGrid(
                {
                    url: &#34;<a href="http://192.168.1.70/phils/js&#038;quot" rel="nofollow" target="_blank">http://192.168.1.70/phils/js&#038;quot</a>;,
                    altRows: true,
                    deepempty: true,
                    autowidth: true,
                    ignoreCase: true,
                    dataype: &#34;json&#34;,
                    mtype: &#34;GET&#34;,
                    jsonReader :
                    {root: &#34;rows&#34;,
page: &#34;page&#34;,
total: &#34;total&#34;,
records: &#34;records&#34;,
repeatitems: false,
cell: &#34;&#34;,
id: &#34;0&#34;,
}                    ,

                    colNames:  [&#34;Username&#34;, &#34;E-Mail&#34;],
                    colModel:  [{ name: &#34;username&#34;}, 
{ name: &#34;email&#34;}],
                    pager: &#34;#pager&#34;,
                    rowNum: 20,
                    rowList: [20, 50, 100],
                    sortname: &#34;name&#34;,
                    sortorder: &#34;asc&#34;,
                    viewrecords: true,
                    gridview: true,
                    autoencode: true,
                    caption: &#34;My first grid&#34;
                });
        });
    &#60;/script&#62;

&#60;/head&#62;
&#60;body&#62;
    &#60;table id=&#34;<a class=&#34;attribute-value&#34; target="_blank">list</a>&#34;&#62;&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;
    &#60;div id=&#34;<a class=&#34;attribute-value&#34; target="_blank">pager</a>&#34;&#62;&#60;/div&#62;

&#60;/body&#62;
&#60;/html&#62;</pre>
</p>
</div>
<p>Here&#39;s the JSON (as reformatted by JSONLint):</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3715' value='Select Code' data-codeid='sfcode3715' /></p>
<div class='sfcode' id='sfcode3715'>{<br />&#160;&#160;&#160; &#34;total&#34;: 1,<br />&#160;&#160;&#160; &#34;page&#34;: 1,<br />&#160;&#160;&#160; &#34;records&#34;: 2,<br />&#160;&#160;&#160; &#34;rows&#34;: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;id&#34;: 6,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;username&#34;: &#34;jgalak&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;email&#34;: &#34;test1@test2&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;password&#34;: &#34;123&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;confirmation_code&#34;: &#34;123&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;confirmed&#34;: 1,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;created_at&#34;: &#34;2013-07-05 22:06:32&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;updated_at&#34;: &#34;2013-07-05 22:06:32&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;SCA_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;First_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Last_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Book_Areas&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Local_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Book_Notes&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Voice_Notes&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Personal_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Brigantia_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Laurel_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Address1&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Address2&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;City&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;ZIP&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Country&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Membership_Expire&#34;: &#34;0000-00-00&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Membership_Number&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;deleted_at&#34;: null,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Local_Flag&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Brigantia_Office_Flag&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Laurel_Office_Flag&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Local_Office_Branch&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Residence_Branch&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Name_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Armory_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Field_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Court_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Chancery_Exp&#34;: 0<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; &#34;id&#34;: 7,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;username&#34;: &#34;test1&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;email&#34;: &#34;test@test1&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;password&#34;: &#34;312&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;confirmation_code&#34;: &#34;123&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;confirmed&#34;: 1,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;created_at&#34;: &#34;2013-07-19 16:22:18&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;updated_at&#34;: &#34;2013-07-19 16:22:18&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;SCA_Name&#34;: &#34;Test&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;First_Name&#34;: &#34;Test&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Last_Name&#34;: &#34;Test&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Book_Areas&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Local_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Book_Notes&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Voice_Notes&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Personal_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Brigantia_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Laurel_Office_Name&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Address1&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Address2&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;City&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;ZIP&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Country&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Membership_Expire&#34;: &#34;0000-00-00&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Membership_Number&#34;: &#34;&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;deleted_at&#34;: &#34;2013-07-19 16:22:18&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Local_Flag&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Brigantia_Office_Flag&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Laurel_Office_Flag&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Local_Office_Branch&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Residence_Branch&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Name_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Armory_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Field_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Court_Exp&#34;: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;Chancery_Exp&#34;: 0<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; ]<br />}</div>
<p>I am trying to use the data model from "http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#json_data" where "cell" is set to "" (no separate cell sub array), and pull out only certain columns.</p>
<p>Web console just says "not well formed", but Firebug confirms it&#39;s a json response.</p>
<p>I&#39;m sure I&#39;m missing something obvious, pleas help.</p>
]]></description>
        	        	<pubDate>Sun, 25 Aug 2013 21:50:28 +0300</pubDate>
        </item>
</channel>
</rss>