<?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: grid not loading data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-loading-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/grid-not-loading-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Leandro Irgang on grid not loading data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-loading-data#p23462</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-not-loading-data#p23462</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>I think your problem is in json, it must be valid</p>
<p>you can validate your string in <a href="http://jsonlint.com/" rel="nofollow" target="_blank">http://jsonlint.com/</a></p>
</p>
<p>Leandro Irgang</p>
]]></description>
        	        	<pubDate>Sat, 04 Jun 2011 01:14:20 +0300</pubDate>
        </item>
        <item>
        	<title>dranney on grid not loading data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-loading-data#p23458</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-not-loading-data#p23458</guid>
        	        	<description><![CDATA[<p>I can&#39;t seem to get the json data to load in the grid.&#160; Here&#39;s my html</p>
</p>
<p>&#60;html&#62;<br />&#60;head&#62;<br />&#60;title&#62;AMAC Remedy&#60;/title&#62;<br />&#60;link type="text/css" href="static/styles/jquery.ui.all.css" rel="stylesheet"&#62;<br />&#60;link type="text/css" href="static/styles/ui.jqgrid.css" rel="stylesheet"&#62;<br />&#60;link type="text/css" href="static/styles/main.css" rel="stylesheet"&#62;<br />&#60;script type="text/javascript" src="static/scripts/jquery-1.5.2.min.js"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript" src="static/scripts/jquery.jqGrid.min.js"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript" src="static/scripts/json2.js"&#62;&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;div id="af-logo"&#62;&#60;img src="static/images/af-logo.png" /&#62; &#60;img src="static/images/afwa-logo.png" /&#62;&#60;/div&#62;<br />&#60;div id="header"&#62;&#60;span class="title"&#62;AMAC Remedy&#60;/span&#62;&#60;br /&#62;&#60;/div&#62;<br />&#60;div class="clear"&#62;&#60;/div&#62;<br />&#60;div id="contentMargin" &#62;&#160;<br />&#60;div id="content" &#62;&#160;<br />&#60;table id="jsonmap"&#62;&#60;/table&#62;<br />&#60;div id="pjmap"&#62;&#60;/div&#62;<br />&#60;/div&#62;<br />&#60;/div&#62;<br />&#60;div id="ajaxMessage"&#62;&#60;/div&#62;<br />&#60;/body&#62;<br />&#60;script type="text/javascript"&#62;<br />$(document).ready( function () {<br />//&#160;&#160;&#160;&#160; alert(&#39;got here 1&#39;);<br />&#160;&#160;&#160;&#160; jQuery("#jsonmap").jqGrid({&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;<a href="http://www.trirand.com/blog/&#39;locations&#39;" target="_blank">url:&#39;locations&#39;</a>,<br />&#160;&#160;&#160; &#160;&#160;datatype: "json",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Location Key&#39;,&#39;Location Name&#39;, &#39;Latitude&#39;, &#39;Longitude&#39;,&#39;Location Alias&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;{name:&#39;locationKey&#39;,index:&#39;locationKey&#39;, width:80},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;{name:&#39;locationName&#39;,index:&#39;locationName&#39;, width:150},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;{name:&#39;latitude&#39;,index:&#39;latitude&#39;, width:100},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;{name:&#39;longitude&#39;,index:&#39;longitude&#39;, width:100},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;{name:&#39;locationAlias&#39;,index:&#39;locationAlias&#39;, width:295, sortable:false}&#160;&#160;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;rowNum:25,<br />//&#160;&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#pjmap&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;locationKey&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; &#160;&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160; &#160;&#160;caption: "JSON Mapping",<br />&#160;&#160;&#160;width: 1040,<br />&#160;&#160;&#160; &#160;&#160;height: 600<br />&#160;&#160;&#160; });<br />});<br />&#60;/script&#62;<br />&#60;/html&#62;</p>
<p>Here&#39;s the json string:</p>
<div class="netInfoResponseText netInfoText ">
<pre><p><input type='button' class='sfcodeselect' name='sfselectit7755' value='Select Code' data-codeid='sfcode7755' /></p><div class='sfcode' id='sfcode7755'>{total: 1, page: 1, records: 3, rows: [{locationKey:1,locationName:"Adelphi",latitude:39.03,longitude</div><p><input type='button' class='sfcodeselect' name='sfselectit3194' value='Select Code' data-codeid='sfcode3194' /></p><div class='sfcode' id='sfcode3194'>:-76.96,locationAlias:""}, {locationKey:2,locationName:"Aiken",latitude:33.57,longitude:-81.73,locationAlias</div><p><input type='button' class='sfcodeselect' name='sfselectit7001' value='Select Code' data-codeid='sfcode7001' /></p><div class='sfcode' id='sfcode7001'>:""}, {locationKey:3,locationName:"Al Asad Airfield",latitude:33.79,longitude:42.44,locationAlias:"Qadisiyah</div><p><input type='button' class='sfcodeselect' name='sfselectit5264' value='Select Code' data-codeid='sfcode5264' /></p><div class='sfcode' id='sfcode5264'> Airbase, FOB Webster, Objective Weber, FOB Al Asad, Camp Al Asad, Navea Training Center"}]}</div></pre>
</div>
<p>Does anyone have an idea as to what I am doing wrong?</p>
]]></description>
        	        	<pubDate>Fri, 03 Jun 2011 21:34:32 +0300</pubDate>
        </item>
</channel>
</rss>