<?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: No data appears in grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-appears-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/no-data-appears-in-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on No data appears in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5598</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5598</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Something is wrong with your request. I recommend first - get the generated xml and use it as datatype: &#39;xmlstring&#39;&#160; in the grid. Refer in the docs and examples</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 25 Mar 2009 11:10:20 +0200</pubDate>
        </item>
        <item>
        	<title>donnek on No data appears in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5558</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5558</guid>
        	        	<description><![CDATA[<p>I&#39;ve downloaded the non-minified jquery-1.3.2 from their site, and renamed it to jquery.js.&#160; Running the page, Firebug says there is a problem at line 3633:</p>
<p>// Send the data<br />3632 try {<br />3633 xhr.send(s.data);<br />3634 } catch(e) {<br />3635 jQuery.handleError(s, xhr, null, e);<br />3636 }</p>
<p>This doesn&#39;t mean much to me, I&#39;m afraid <img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-cry.gif" border="0" alt="Cry" /></p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 04:01:35 +0200</pubDate>
        </item>
        <item>
        	<title>donnek on No data appears in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5556</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5556</guid>
        	        	<description><![CDATA[<p>I had just added this query to index.html in order to be sure that some data was being returned from the db - I&#39;ve taken it out now.&#160; What I don&#39;t understand is that data is definitely coming back from the db (as this query showed) and Firebug seems to be showing a properly formatted response, but no data is appearing in the grid.</p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 03:50:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on No data appears in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5554</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5554</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Remove or comment this line:</p>
<p>echo &#8220;Number of records: &#8220;.$count;</p>
<p>and see what is happen.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 03:17:00 +0200</pubDate>
        </item>
        <item>
        	<title>donnek on No data appears in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5535</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-appears-in-grid#p5535</guid>
        	        	<description><![CDATA[<p>I&#39;m going through the "Creating your first grid" tutorial, and have set up the data, the index.html and example.php as suggested.&#160; However, when I run the page, I get the grid layout, but no data inside it.&#160; I have added al query to index.php as well:</p>
<p>$db = mysql_connect(&#39;localhost&#39;, &#39;myuser&#39;, &#39;mypassword&#39;) or die("Connection Error: " . mysql_error()); <br />$myinv=mysql_select_db(&#39;mydatabase&#39;, $db) or die("Error connecting to db."); <br />$result = mysql_query("SELECT COUNT(*) AS count FROM invheader"); <br />$row = mysql_fetch_array($result,MYSQL_ASSOC); <br />$count = $row[&#39;count&#39;];<br />echo "Number of records: ".$count;</p>
<p>and this shows, below the empty grid:</p>
<p>Number of records: 2</p>
<p>as expected (there are two records in the db table), which suggests access to the db is OK.</p>
<p>The Firebug console gives the Response as:</p>
<p>&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;&#60;rows&#62;&#60;page&#62;1&#60;/page&#62;&#60;total&#62;1&#60;/total&#62;&#60;records&#62;2&#60;/records&#62;&#60;row id<br />=&#39;2&#39;&#62;&#60;cell&#62;2&#60;/cell&#62;&#60;cell&#62;2009-03-24&#60;/cell&#62;&#60;cell&#62;24.00&#60;/cell&#62;&#60;cell&#62;3.00&#60;/cell&#62;&#60;cell&#62;27.00&#60;/cell&#62;&#60;cell<br />&#62;&#60;![CDATA[watch re payment]]&#62;&#60;/cell&#62;&#60;/row&#62;&#60;row id=&#39;1&#39;&#62;&#60;cell&#62;1&#60;/cell&#62;&#60;cell&#62;2009-03-23&#60;/cell&#62;&#60;cell&#62;5.00<br />&#60;/cell&#62;&#60;cell&#62;1.00&#60;/cell&#62;&#60;cell&#62;6.00&#60;/cell&#62;&#60;cell&#62;&#60;![CDATA[first entry]]&#62;&#60;/cell&#62;&#60;/row&#62;&#60;/rows&#62;</p>
<p>which seems to suggest that XML is making it back to the page, but is just not being displayed for some reason.</p>
<p>Any suggestions on what might be wrong?</p>
<p>I&#39;m using Firefox 3.0.1 on openSUSE 10.2.</p>
<p>Thanks</p>
<p>Kevin</p></p>
]]></description>
        	        	<pubDate>Mon, 23 Mar 2009 14:59:46 +0200</pubDate>
        </item>
</channel>
</rss>