<?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: Probles with simple array grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-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/probles-with-simple-array-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dabstar on Probles with simple array grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-grid#p18511</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-grid#p18511</guid>
        	        	<description><![CDATA[<p>Thanks Oleg.</p>
<p>It was as simple as switching the two script references around..</p>
]]></description>
        	        	<pubDate>Fri, 09 Jul 2010 16:34:19 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Probles with simple array grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-grid#p18507</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-grid#p18507</guid>
        	        	<description><![CDATA[<p>First of all you should place grid.locale-en.js <strong>before</strong> jquery.jqGrid.min.js. If you use 3.7.x version you should better set all data at once instead adding there row after row. See <a href="http://stackoverflow.com/questions/3197065/jqgrid-on-clientside-paging-editing-sorting-queries/3197307#3197307" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....07#3197307</a> for example.</p>
<p>Moreover you write that you use JSON and WCF, but it you don&#39;t use it in the example. I also use jqGrid togeter with WCF. Information from <a href="http://stackoverflow.com/questions/2675625/setting-the-content-type-of-requests-performed-by-jquery-jqgrid/2678731#2678731" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....31#2678731</a> could be probably helpfull for you.</p>
<p>Best regards<br />Oleg</p></p>
]]></description>
        	        	<pubDate>Fri, 09 Jul 2010 14:54:58 +0300</pubDate>
        </item>
        <item>
        	<title>dabstar on Probles with simple array grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-grid#p18506</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/probles-with-simple-array-grid#p18506</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have been trying to get the jgGrid to work using JSON and WCF Data Services. I tried all sorts of things with no luck. So I have now defaulted to a basic simple array data grid using the demo from jgGrid Demo page. But alas it doesn&#39;t work either.</p>
</p>
<p>I have grabbed the code from the demo page but it is not populating the grid with data. I get a nice grid with headers but no data.</p>
</p>
<p>Any thoughts? I am using 3.7.1 downloaded with all options enabled.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8795' value='Select Code' data-codeid='sfcode8795' /></p>
<div class='sfcode' id='sfcode8795'>&#60;head&#62;<br />&#160;&#160;&#160; &#60;title&#62;Untitled Page&#60;/title&#62;<br />&#160;&#160;&#160; &#60;link href=&#34;css/ui.jqgrid.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#160;&#160;&#160; &#60;link rel=&#34;Stylesheet&#34; type=&#34;text/css&#34; media=&#34;screen&#34; href=&#34;<a href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/base/jquery-ui.css&#038;quot" rel="nofollow" target="_blank"><a href="http://ajax.googleapis.com/aja" rel="nofollow">http://ajax.googleapis.com/aja</a>.....&#038;quot</a>; /&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;<a href="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js&#038;quot" rel="nofollow" target="_blank"><a href="http://ajax.microsoft.com/ajax" rel="nofollow">http://ajax.microsoft.com/ajax</a>.....&#038;quot</a>; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160; &#60;script src=&#34;js/jquery.jqGrid.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;js/grid.locale-en.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table id=&#34;list4&#34;&#62;&#60;/table&#62;<br />&#60;script&#62;<br />&#160;&#160;&#160; $(document).ready(function () {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#list4&#34;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#34;local&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 250,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Inv No&#39;, &#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;, &#39;Tax&#39;, &#39;Total&#39;, &#39;Notes&#39;],<br />&#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;id&#39;, index: &#39;id&#39;, width: 60, sorttype: &#34;int&#34; },<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;invdate&#39;, index: &#39;invdate&#39;, width: 90, sorttype: &#34;date&#34; },<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: 100 },<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;amount&#39;, index: &#39;amount&#39;, width: 80, align: &#34;right&#34;, sorttype: &#34;float&#34; },<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;tax&#39;, index: &#39;tax&#39;, width: 80, align: &#34;right&#34;, sorttype: &#34;float&#34; },<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;total&#39;, index: &#39;total&#39;, width: 80, align: &#34;right&#34;, sorttype: &#34;float&#34; },<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;note&#39;, index: &#39;note&#39;, width: 150, sortable: false }<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#34;Manipulating Array Data&#34;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; var mydata = [<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; { id: &#34;1&#34;, invdate: &#34;2007-10-01&#34;, name: &#34;test&#34;, note: &#34;note&#34;, amount: &#34;200.00&#34;, tax: &#34;10.00&#34;, total: &#34;210.00&#34; },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; { id: &#34;2&#34;, invdate: &#34;2007-10-02&#34;, name: &#34;test2&#34;, note: &#34;note2&#34;, amount: &#34;300.00&#34;, tax: &#34;20.00&#34;, total: &#34;320.00&#34; },<br />&#160;&#160; &#160;&#160;&#160; &#160;];</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; for (var i = 0; i &#60;= mydata.length; i++)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#list4&#34;).addRowData(i + 1, mydata[i]);<br />&#160;&#160;&#160; });<br />&#60;/script&#62;<br />&#60;/body&#62;</p>
</div>
]]></description>
        	        	<pubDate>Fri, 09 Jul 2010 13:27:20 +0300</pubDate>
        </item>
</channel>
</rss>