<?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 to appear ...</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-to-appear</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-to-appear/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on No data to appear ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-to-appear#p3067</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-to-appear#p3067</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Is that your full script?</p>
<p>Also check with xmlstring and do not use server.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 14 Nov 2008 06:53:17 +0200</pubDate>
        </item>
        <item>
        	<title>pierrem on No data to appear ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-to-appear#p3057</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-to-appear#p3057</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I took the example posted here : <a href="http://www.trirand.com/blog/?page_id=18/help/cant-get-data-to-appear-in-grid/page-1" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....rid/page-1</a></p>
<p>but, despite the advices ... no data shown in the grid.</p>
<p>I certainly make a mistake somewhere ... but I can&#39;t find it !</p>
</p>
<p>The main HTML file :</p>
<p>&#60;html&#62;<br />&#60;head&#62; <br />&#60;meta http-equiv="Content-Type" content="text/xml" charset=utf-8" /&#62;<br />&#60;title&#62;jqGrid Demo&#60;/title&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="include/themes/basic/grid.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="include/themes/jqModal.css" /&#62;<br />&#60;script src="include/jquery-1.2.6.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="include/jquery.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="include/jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="include/js/jqModal.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="include/js/jqDnR.js" type="text/javascript"&#62;&#60;/script&#62; <br />&#60;script type="text/javascript" type="text/xml"&#62; <br />&#160;&#160;&#160; $(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: "test2.xml",<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: "include/themes/basic/images",<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; });<br />&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62; <br />&#60;table id="list" class="scroll" border="1" width="200px"&#62;&#60;/table&#62; <br />&#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62; <br />&#60;/body&#62; <br />&#60;/html&#62;</p>
</p>
<p>The XML file (located in the web server&#39;s root directory) :</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;2&#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>
<p>Suite :</p>
<p>I noticed in Firebug that :</p>
<p>$ -&#62; jgrid -&#62; errors :</p>
<p style="padding-left: 30px;">errcap : "Error"<br />norecords : "Norecords to process"<br />nourl : "No url is set</p>
<p>but I mentionned it in the html/script :</p>
<p>url: "test2.xml"</p>
<p>Any idea ?</p>
<p>FYI :<br />latest versions downloaded for jquery and jqgrid ...<br />setmod is 0777 for all directories/files</p>
<p>Thanks in advance for your precious advices ... and forgive the bad quality of my english<br />:&#62;)</p>
<p>direct email : <a href="mailto:pierre@prmartin.net" target="_blank">pierre@prmartin.net</a></p></p>
]]></description>
        	        	<pubDate>Thu, 13 Nov 2008 16:19:10 +0200</pubDate>
        </item>
</channel>
</rss>