<?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 not reading data?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-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/jqgrid-not-reading-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>akilhoffer on jqGrid not reading data?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3713</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3713</guid>
        	        	<description><![CDATA[<p>For me, the problem was my content type not being set properly.</p>
]]></description>
        	        	<pubDate>Fri, 26 Dec 2008 10:57:55 +0200</pubDate>
        </item>
        <item>
        	<title>gpit2286 on jqGrid not reading data?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3707</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3707</guid>
        	        	<description><![CDATA[<p>Hey -</p>
</p>
<p>Fixed my problem. I put the XML response into a validator and "WHOAAAAA!!! ERRRORS".&#160; Simple solution - any field that is going to have any char that is not [a-z][A-Z][0-9]... use CDATA</p>
</p>
<p><a href="http://www.w3schools.com/XML/xml_cdata.asp" rel="nofollow" target="_blank">http://www.w3schools.com/XML/xml_cdata.asp</a></p>
]]></description>
        	        	<pubDate>Wed, 24 Dec 2008 17:51:48 +0200</pubDate>
        </item>
        <item>
        	<title>akilhoffer on jqGrid not reading data?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3706</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3706</guid>
        	        	<description><![CDATA[<p>I have the exact same issue. My js looks good, my xml looks good, and no errors reported in Firebug, but the grid isnt displaying any errors or paging data. How can we troubleshoot an issue like this?</p></p>
]]></description>
        	        	<pubDate>Wed, 24 Dec 2008 13:28:29 +0200</pubDate>
        </item>
        <item>
        	<title>gpit2286 on jqGrid not reading data?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3699</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-reading-data#p3699</guid>
        	        	<description><![CDATA[<p>I have jqGrid implemented in my webpage and I am having an issue getting jqGrid to read the XML response from the server.&#160; Using firebug, I am sure that that correct message is getting sent and the response seems right... but the data isn&#39;t displayed.&#160; See Below :</p>
<p>Code :<br />echo "&#60;?xml version=\\"1.0\\" encoding=\\"utf-8\\"?&#62;";<br />echo "&#60;rows&#62;";<br />echo "&#60;page&#62;".$pageNo."&#60;/page&#62;";<br />echo "&#60;total&#62;".$lastPage."&#60;/total&#62;";<br />echo "&#60;records&#62;".$CurCount."&#60;/records&#62;";</p>
<p>while($row = mysql_fetch_array($result,MYSQL_ASSOC)) {<br />echo "&#60;row id=&#39;". $row[&#39;id&#39;]."&#39;&#62;";&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;". $row[&#39;artist&#39;]."&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;". $row[&#39;album&#39;]."&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;". $row[&#39;quanity&#39;]."&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;". $row[&#39;price&#39;]."&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;". $row[&#39;place&#39;]."&#60;/cell&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; echo "&#60;cell&#62;". $row[&#39;link&#39;]."&#60;/cell&#62;";<br />echo "&#60;/row&#62;";<br />}<br />echo "&#60;/rows&#62;"; <br />?&#62;</p>
<p>Response:</p>
<pre>&#60;?xml version="1.0" encoding="utf-8"?&#62;</pre>
<pre>&#60;rows&#62;&#60;page&#62;1&#60;/page&#62;&#60;total&#62;2&#60;/total&#62;&#60;records&#62;Array&#60;/records&#62;&#60;row id=&#39;33&#39;&#62;&#60;cell&#62;Driving Blind&#60;/cell&#62;&#60;cell</pre>
<pre>&#62;Driving Blind&#60;/cell&#62;&#60;cell&#62;2&#60;/cell&#62;&#60;cell&#62;0.77&#60;/cell&#62;&#60;cell&#62;Second Spin&#60;/cell&#62;&#60;cell&#62;http://www.secondspin</pre>
<pre>.com/cart.jsp?add=true&#38;trans=buy&#38;condition=used&#38;type=1&#38;price=0.77&#38;id=885350&#60;/cell&#62;&#60;/row&#62;&#60;row id=&#39;4&#39;&#62;</pre>
<pre>&#60;cell&#62;Bent Scepters&#60;/cell&#62;&#60;cell&#62;Blind Date with Destiny&#60;/cell&#62;&#60;cell&#62;7&#60;/cell&#62;&#60;cell&#62;1.47&#60;/cell&#62;&#60;cell&#62;Second</pre>
<pre> Spin&#60;/cell&#62;&#60;cell&#62;http://www.secondspin.com/cart.jsp?add=true&#38;trans=buy&#38;condition=used&#38;type=1&#38;price=1</pre>
<pre>.47&#38;id=847459&#60;/cell&#62;&#60;/row&#62;&#60;row id=&#39;28&#39;&#62;&#60;cell&#62;Budapest&#60;/cell&#62;&#60;cell&#62;Too Blind to Hear&#60;/cell&#62;&#60;cell&#62;7&#60;/cell</pre>
<pre>&#62;&#60;cell&#62;1.59&#60;/cell&#62;&#60;cell&#62;Second Spin&#60;/cell&#62;&#60;cell&#62;http://www.secondspin.com/cart.jsp?add=true&#38;trans=buy</pre>
<pre>&#38;condition=used&#38;type=1&#38;price=1.59&#38;id=2219316&#60;/cell&#62;&#60;/row&#62;&#60;row id=&#39;2&#39;&#62;&#60;cell&#62;Ben Harper/Blind Boys of Alabama</pre>
<pre>&#60;/cell&#62;&#60;cell&#62;Live at the Apollo&#60;/cell&#62;&#60;cell&#62;2&#60;/cell&#62;&#60;cell&#62;10.99&#60;/cell&#62;&#60;cell&#62;Second Spin&#60;/cell&#62;&#60;cell&#62;http</pre>
<pre>://www.secondspin.com/cart.jsp?add=true&#38;trans=buy&#38;condition=used&#38;type=1&#38;price=10.99&#38;id=2525866&#60;/cell</pre>
<pre>&#62;&#60;/row&#62;&#60;row id=&#39;10&#39;&#62;&#60;cell&#62;Blind Guardian&#60;/cell&#62;&#60;cell&#62;Follow the Blind&#60;/cell&#62;&#60;cell&#62;1&#60;/cell&#62;&#60;cell&#62;12.99</pre>
<pre>&#60;/cell&#62;&#60;cell&#62;Second Spin&#60;/cell&#62;&#60;cell&#62;http://www.secondspin.com/cart.jsp?add=true&#38;trans=buy&#38;condition</pre>
<pre>=used&#38;type=1&#38;price=12.99&#38;id=875330&#60;/cell&#62;&#60;/row&#62;&#60;row id=&#39;18&#39;&#62;&#60;cell&#62;Blind Melon&#60;/cell&#62;&#60;cell&#62;Best of Blind</pre>
<pre> Melon [Bonus DVD] [Limited Edition]&#60;/cell&#62;&#60;/row&#62;&#60;/rows&#62;<br /><br />And the jqGrid call : <br />	$("#table1").jqGrid({<br />    				url:&#39;wrap/query.php&#39;,<br />    				datatype: &#39;xml&#39;,<br />    				xmlReader : {<br />						root: "rows",<br />  						row: "row",<br />						page: "rows&#62;page",<br />						total: "rows&#62;total",<br />						records : "rows&#62;records",<br />  						repeatitems: true,<br />  						cell: "cell",<br />  						id: "[id]",<br />					},<br />    				mtype: &#39;GET&#39;,<br />	    			colNames:[&#39;Artist&#39;,&#39;Album&#39;, &#39;Quan.&#39;,&#39;Price&#39;,&#39;Place&#39;,&#39;URL&#39;],<br />    				colModel :[ <br />      					{name:&#39;artist&#39;, index:&#39;artist&#39;, width:55}, <br />      					{name:&#39;album&#39;, index:&#39;album&#39;, width:90}, <br />      					{name:&#39;quanity&#39;, index:&#39;quanity&#39;, width:80}, <br />      					{name:&#39;price&#39;, index:&#39;price&#39;, width:80}, <br />      					{name:&#39;place&#39;, index:&#39;place&#39;, width:80}, <br />      					{name:&#39;link&#39;, index:&#39;link&#39;, width:150}],<br />    				pager: jQuery(&#39;#pager&#39;),<br />    				rowNum:50,<br />    				rowList:[10,20,30],<br />    				sortname: &#39;price&#39;,<br />    				sortorder: "asc",<br />    				viewrecords: true,<br />    				imgpath: &#39;js/themes/coffee/images&#39;,<br />    				caption: &#39;Your Search for: &#60;? echo $mSearch; ?&#62;&#39;<br /><br />Any Ideas?</pre>
]]></description>
        	        	<pubDate>Tue, 23 Dec 2008 23:15:52 +0200</pubDate>
        </item>
</channel>
</rss>