<?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 data to appear in grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid</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-data-to-appear-in-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3045</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3045</guid>
        	        	<description><![CDATA[<p>Thank&#39;s Yamil</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 13 Nov 2008 06:33:49 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3039</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3039</guid>
        	        	<description><![CDATA[<p>Fantastic. It works! The MVC framework defaults to text/html which was what was cuasing it to fail.</p>
<p>Thank you all so much for your help.</p>
]]></description>
        	        	<pubDate>Wed, 12 Nov 2008 08:40:09 +0200</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3036</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3036</guid>
        	        	<description><![CDATA[<p>Phil, I think it could be the response header..</p>
<p>Set to text/plain or text/xml...</p>
]]></description>
        	        	<pubDate>Wed, 12 Nov 2008 07:49:34 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3033</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3033</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Firstly thanks to everyone for your responses.</p>
<p>I have successfully got the grid to work by copying the XML into the javascript and using &#39;xmlstring&#39;.</p>
<p>However when I copy the XML into a static file on my webserver and try to load the grid from that I still get the same issue, i.e. the grid is blank.</p>
<p>Firebug shows me the correct XMl in the response. The only possible issue here is that Firebug does not automatically have the response body saved. Instad I have to click the &#39;Load Response&#39; button and Firebug will go and retrieve it. However this is also the case for other resources that downloaded as part of the page so I&#39;m failry sure this isn&#39;t an issue.</p>
<p>Any more help would be gratefully received.</p>
<p>Thanks,</p>
<p>Phil</p>
]]></description>
        	        	<pubDate>Wed, 12 Nov 2008 03:47:55 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3029</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3029</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I see all is correct. The only problem remains if you point to right</p>
<p>(existing) xml file. Also see in FireBug what you get</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 13:55:15 +0200</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3020</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3020</guid>
        	        	<description><![CDATA[<p>Test using an xml string in your code. See "Xml String" in the docs...</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 09:07:50 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3019</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3019</guid>
        	        	<description><![CDATA[<p>Thanks, but the colModel already specifies this&#160;- unfortunately there is a problem with&#160;word wrap so this part has gone off the edge of the post although you can see it via &#39;View Source&#39;!</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 08:45:07 +0200</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3017</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3017</guid>
        	        	<description><![CDATA[<p>Hi. Maybe you would need to add the xmlmap in your colModel...</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 07:57:30 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3012</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p3012</guid>
        	        	<description><![CDATA[<p>Thanks you both for your help and apologies for the very slow reply but I&#39;ve been off work for nearly a week.</p>
<p>I have added an id field to the xmlReader so that it now looks like this:</p>
<p>xmlReader: {<br />&#160; root: "contacts",<br />&#160; row: "contact",<br />&#160; page: "contacts&#62;page",<br />&#160; total: "contacts&#62;total",<br />&#160; records: "contacts&#62;records",<br />&#160; repeatitems: false,<br />&#160; id: "contactId"<br />}</p>
<p>I have changed the casing on mtype and xmlReader to be correct and I have checked the casing of all other attributes. Unfortunately the grid is still not loading any data.</p>
<p>Can you give me any hints as to where to look or how to go about debugging this issue?</p>
</p>
<p>Many thanks,</p>
<p>Phil</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 03:56:24 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2944</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2944</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Java Script is case sensitive</p>
<p>you should not set</p>
<p>mType, but <strong>mtype</strong></p>
<p>not</p>
<p>xmlreader but <strong>xmlReader</strong></p>
</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Thu, 06 Nov 2008 01:49:33 +0200</pubDate>
        </item>
        <item>
        	<title>nsorochan on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2918</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2918</guid>
        	        	<description><![CDATA[<p>Do you need an id field in your xml data?</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 16:36:41 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2908</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2908</guid>
        	        	<description><![CDATA[<p>Let me try the XML again...</p>
<p>&#60;?xml version="1.0" encoding="utf-8"?&#62;<br />&#60;contacts&#62;<br />&#160; &#60;page&#62;1&#60;/page&#62;<br />&#160; &#60;total&#62;1&#60;/total&#62;<br />&#160; &#60;records&#62;2&#60;/records&#62;<br />&#160; &#60;contact&#62;<br />&#160;&#160;&#160; &#60;contactId&#62;2&#60;/contactId&#62;<br />&#160;&#160;&#160; &#60;firstName&#62;Barry&#60;/firstName&#62;<br />&#160;&#160;&#160; &#60;lastName&#62;Gottshall&#60;/lastName&#62;<br />&#160; &#60;/contact&#62;<br />&#160; &#60;contact&#62;<br />&#160;&#160;&#160; &#60;contactId&#62;3&#60;/contactId&#62;<br />&#160;&#160;&#160; &#60;firstName&#62;Armando&#60;/firstName&#62;<br />&#160;&#160;&#160; &#60;lastName&#62;Valdes&#60;/lastName&#62;<br />&#160; &#60;/contact&#62;<br />&#60;/contacts&#62;</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 12:01:16 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2907</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2907</guid>
        	        	<description><![CDATA[<p>This was my second attempt (using custom XML). The grid is:</p>
<p>$(document).ready(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;../Order.mvc/Xml&#39;,<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160; colNames: [&#39;Num&#39;, &#39;First Name&#39;, &#39;Surname&#39;],<br />&#160;&#160;&#160;&#160;&#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;num,&#39;, index: &#39;num&#39;, width: 55, resizable: true, xmlmap: "contactId" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;name&#39;, index: &#39;name&#39;, width: 90, resizable: true, xmlmap: "firstName" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;surname&#39;, index: &#39;surname&#39;, width: 120, resizable: true, xmlmap: "lastName" }<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; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160; pager: $(&#39;#pager&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [5, 10, 15],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;num&#39;,<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160; multiselect: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multikey: "ctrlKey",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;My first grid&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: "/themes",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlreader: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root: "contacts",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; row: "contact",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page: "contacts&#62;page",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total: "contacts&#62;total",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records: "contacts&#62;records",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: false<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160; });</p>
</p>
<p>and the XMl returned from the server is:</p>
<pre>&#60;?xml version="1.0" encoding="utf-8"?&#62;<br />&#60;contacts&#62;<br />&#160; &#60;page&#62;1&#60;/page&#62;<br />&#160; &#60;total&#62;1&#60;/total&#62;<br />&#160; &#60;records&#62;2&#60;/records&#62;<br />&#160; &#60;contact&#62;<br />&#160;&#160;&#160; &#60;contactId&#62;2&#60;/contactId&#62;<br />&#160;&#160;&#160; &#60;firstName&#62;Barry&#60;/firstName&#62;<br />&#160;&#160;&#160; &#60;lastName&#62;Gottshall&#60;/lastName&#62;<br />&#160; &#60;/contact&#62;<br />&#160; &#60;contact&#62;<br />&#160;&#160;&#160; &#60;contactId&#62;3&#60;/contactId&#62;<br />&#160;&#160;&#160; &#60;firstName&#62;Armando&#60;/firstName&#62;<br />&#160;&#160;&#160; &#60;lastName&#62;Valdes&#60;/lastName&#62;<br />&#160; &#60;/contact&#62;<br />&#60;/contacts&#62;</pre>
<pre>Thanks.</pre>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 11:55:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2901</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2901</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes you can post here the configuration and the data returnrd from server</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 11:23:31 +0200</pubDate>
        </item>
        <item>
        	<title>nsorochan on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2896</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2896</guid>
        	        	<description><![CDATA[<p>I think seeing your code would be helpful.</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 11:02:09 +0200</pubDate>
        </item>
        <item>
        	<title>philruelle on Can't get data to appear in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2893</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-data-to-appear-in-grid#p2893</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I am trying to get a basic grid (like the example in the docs) to work&#160;under ASP.Net MVC.</p>
<p>Everything looks fine, the outline of the grid appears, the rollup button works, you can click on the column headers to sort, etc but the data is not appearing. I can see in firebug that the data is being requested and successfully returned but it doesn&#39;t appear in the grid and I get no errors.</p>
<p>I have tried using the standard XML format and also using a custom format and setting the XmlReader properties but the result is the same. Is there anything obvious that I should check? What is the best way to debug this?</p>
<p>I can post the grid options and Xml if it would help.</p>
<p>Many thanks in advance,</p>
<p>Phil</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 10:43:06 +0200</pubDate>
        </item>
</channel>
</rss>