<?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 displaying rows (ASP, jqgrid 3.6.5)</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5</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-displaying-rows-asp-jqgrid-3-6-5/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Nathan on Grid not displaying rows (ASP, jqgrid 3.6.5)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18280</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18280</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I still haven&#39;t resolved this issue.&#160; Anyone have a suggestion on how to fix the issue? I&#39;ve upgraded to 3.7.1 now and still I can&#39;t seem to load data.</p>
</p>
<p>Nathan</p>
]]></description>
        	        	<pubDate>Tue, 29 Jun 2010 22:45:11 +0300</pubDate>
        </item>
        <item>
        	<title>Nathan on Grid not displaying rows (ASP, jqgrid 3.6.5)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18206</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18206</guid>
        	        	<description><![CDATA[<p>Hi Michael,</p>
</p>
<p>Thanks for your reply.&#160; I&#39;ve tried data.d and I also see no results appearing in my grid.&#160; I&#39;m very puzzled at this point.</p>
</p>
<p>Do you, or anyone else, have any suggestions on what may be the problem.</p>
</p>
<p>I&#39;d post an example but that&#39;s not possible as its merely running on my local host.</p>
</p>
<p>Nathan</p>
]]></description>
        	        	<pubDate>Fri, 25 Jun 2010 17:39:05 +0300</pubDate>
        </item>
        <item>
        	<title>michaelg on Grid not displaying rows (ASP, jqgrid 3.6.5)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18167</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18167</guid>
        	        	<description><![CDATA[<p>Hi Nathan,</p>
</p>
<p>I think you need to change ...</p>
<p>mygrid.addJSONData(data)</p>
<p>... to ...</p>
<p>mygrid.addJSONData(data.d)</p>
</p>
<p>I hope that works!</p>
</p>
<p>Cheers,</p>
<p>Michael</p>
]]></description>
        	        	<pubDate>Fri, 25 Jun 2010 01:59:54 +0300</pubDate>
        </item>
        <item>
        	<title>Nathan on Grid not displaying rows (ASP, jqgrid 3.6.5)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18146</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-not-displaying-rows-asp-jqgrid-3-6-5#p18146</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;ve worked with jqgrid a fair amount in php and thus I was hoping I could use it ASP.&#160; Seems that&#39;s possible based on the docs but I can&#39;t seem to get it working.</p>
</p>
<p>Currently my webservice just returns a a sample peice of JSON text - based on the doc defs</p>
</p>
<p>Grid Def:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //url: "WebService2.asmx/GetDistributionList",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //data: "{&#39;ID&#39;:&#39;" + $(&#39;#ddReports :selected&#39;).val() + "&#39;}",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //postData: { ReportID: $(&#39;#ddReports :selected&#39;).val() },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($(&#39;#ddReports :selected&#39;).val() != undefined) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(".loading").show();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //console.log(postdata);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery.ajax({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;WebService2.asmx/GetDistributionList&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: JSON.stringify({ ReportID: $(&#39;#ddReports :selected&#39;).val() }),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //data: "{&#39;ReportID&#39;:&#39;" + $(&#39;#ddReports :selected&#39;).val() + "&#39;}",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //data: JSON.stringify(postdata),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dataType: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; type: "POST",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; contentType: "application/json; charset=utf-8",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; success: function(data) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#39;success function of ajax call&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var mygrid = $("#list")[0];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //console.log(&#39;data is &#39; + data);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //console.log(&#39;data.d is &#39; + data.d);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mygrid.addJSONData(data);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadComplete: function(data) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#39;Grid Complete Function&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(".loading").hide();&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root: "d.rows",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page: "d.page",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total: "d.total",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records: "d.records",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cell: "cell",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id: "id",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; userdata: "userdata",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; subgrid: { root: "d.rows",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cell: "cell"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridComplete: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(".loading").hide();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;A&#39;, &#39;B&#39;, &#39;C&#39;, &#39;D&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;a&#39;, width: 300 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;b&#39;, width: 300 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;c&#39;, width: 200, align: &#39;right&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;d&#39;, width: 100, align: &#39;right&#39; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [100, 200, 300],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;invid&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 900,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 400,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Distribution List&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>Doing a quick console.log of the data response I receive and object and the &#39;d&#39; value is</p>
<div class="logRow logRow-log">success function of ajax call</div>
<div class="logRow logRow-log">data is [object Object]</div>
<div class="logRow  logRow-log">data.d  is { "total": "1", "page": "1", "records": "22","rows" : [{"id" :"1",  "cell" :["cell11", "cell12", "cell13","cell14"]},{"id" :"2",  "cell":["cell21", "cell22", "cell23","cell24"]}]}</div>
<div class="logRow  logRow-log"></div>
<div class="logRow  logRow-log">However no data appears in my grid.&#160; I see the loading dialog display and then disappear but the data itself never loads.</div>
<div class="logRow  logRow-log"></div>
<div class="logRow  logRow-log">Any suggestions on how to get around this issue ? I&#39;ve looked at a number of posts online and I can&#39;t seem to determine what the error is here.</div>
<div class="logRow  logRow-log"></div>
<div class="logRow  logRow-log">Thanks in advance,</div>
<div class="logRow  logRow-log"></div>
<div class="logRow  logRow-log">Nathan</div>
]]></description>
        	        	<pubDate>Wed, 23 Jun 2010 18:44:34 +0300</pubDate>
        </item>
</channel>
</rss>