<?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: Noob Post</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/noob-post</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/noob-post/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>-Matt- on Noob Post</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/noob-post#p3081</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/noob-post#p3081</guid>
        	        	<description><![CDATA[<p>I will reply to my own problem!!!</p>
<p>the problem:</p>
<p><strong>sortname: &#39;id&#39;</strong></p>
<p>fixed by changing to</p>
<p><strong>sortname: &#39;invid&#39;</strong></p></p>
]]></description>
        	        	<pubDate>Fri, 14 Nov 2008 14:37:01 +0200</pubDate>
        </item>
        <item>
        	<title>-Matt- on Noob Post</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/noob-post#p3080</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/noob-post#p3080</guid>
        	        	<description><![CDATA[<p>Hi All,</p>
<p>I would just like to say this bit of &#39;kit&#39; is fantastic!!!</p>
<p>I am a NOOB unfortunately and have just tried to do complete the XML demo in the documentation.</p>
<p>What my issue is, is that I have to click a header to populate the grid with the database data.&#160; I cannot see why it doesn&#39;t load the data when you load the page.</p>
<p>Can anyone point me in the right direct.</p>
<p>Thanks,</p>
<p>Matt.</p>
<p>HTML Code for reference:</p>
<p><span style="color: #3366ff;">&#60;html&#62;<br />&#60;head&#62;<br />&#160;&#160;&#160; &#60;title&#62;jqGrid Demo&#60;/title&#62;<br />&#160;&#160;&#160; &#60;link rel="stylesheet" type="text/css" media="screen" href="themes/basic/grid.css"&#62;<br />&#160;&#160;&#160; &#60;link rel="stylesheet" type="text/css" media="screen" href="themes/jqModal.css"&#62;<br />&#160;&#160;&#160; &#60;script src="jquery.js" type="text/javascript"&#62;<br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="jquery.jqGrid.js" type="text/javascript"&#62;<br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="js/jqModal.js" type="text/javascript"&#62;<br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="js/jqDnR.js" type="text/javascript"&#62;<br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160; jQuery(document).ready(function(){ jQuery("#list").jqGrid({ url:&#39;example1_server.php?nd=&#39;+new Date().getTime(), datatype: &#39;xml&#39;, mtype: &#39;GET&#39;, colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;], colModel :[ {name:&#39;invid&#39;, index:&#39;invid&#39;, width:55}, {name:&#39;invdate&#39;, index:&#39;invdate&#39;, width:90}, {name:&#39;amount&#39;, index:&#39;amount&#39;, width:80, align:&#39;right&#39;}, {name:&#39;tax&#39;, index:&#39;tax&#39;, width:80, align:&#39;right&#39;}, {name:&#39;total&#39;, index:&#39;total&#39;, width:80, align:&#39;right&#39;}, {name:&#39;note&#39;, index:&#39;note&#39;, width:150, sortable:false} ], pager: jQuery(&#39;#pager&#39;), rowNum:10, rowList:[10,20,30], sortname: &#39;id&#39;, sortorder: "desc", viewrecords: true, imgpath: &#39;themes/basic/images&#39;, caption: &#39;My first grid&#39;&#160; }); }); <br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#60;style type="text/css"&#62;<br />&#160;&#160;&#160; div.c1 {text-align:center;}<br />&#160;&#160;&#160; &#60;/style&#62;<br />&#60;/head&#62;</span></p>
<p>&#60;body&#62;<br />&#160;&#160;&#160; &#60;table id="list" class="scroll"&#62;&#60;/table&#62;</p>
<p>&#160;&#160;&#160; &#60;div id="pager" class="scroll"&#62;&#60;/div&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p></p>
]]></description>
        	        	<pubDate>Fri, 14 Nov 2008 14:29:19 +0200</pubDate>
        </item>
</channel>
</rss>