<?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: Trying to get the most basic sample working</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working</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/trying-to-get-the-most-basic-sample-working/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ripster on Trying to get the most basic sample working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p14110</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p14110</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have solved my problem. I was loading the jquery.jQGrid.min.js file before the grid.locale-en.js file, once I swapped them around my page worked.</p>
<p>Cheers,</p>
<p>Colin</p>
]]></description>
        	        	<pubDate>Thu, 21 Jan 2010 18:22:13 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Trying to get the most basic sample working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p13916</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p13916</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>@newperson Thanks.</p>
<p>@ripster</p>
<p>Thanks I will check your code and let you know.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 14 Jan 2010 22:07:51 +0200</pubDate>
        </item>
        <item>
        	<title>newperson on Trying to get the most basic sample working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p13903</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p13903</guid>
        	        	<description><![CDATA[<p>Check this out <a href="http://www.trirand.net/demophp.aspx" target="_blank">http://www.trirand.net/demophp.aspx</a>, this is extremely simple to follow and it differs greatly from what you are using. It is still in Beta but they are doing some good things with it.</p>
]]></description>
        	        	<pubDate>Thu, 14 Jan 2010 20:21:54 +0200</pubDate>
        </item>
        <item>
        	<title>ripster on Trying to get the most basic sample working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p13857</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trying-to-get-the-most-basic-sample-working#p13857</guid>
        	        	<description><![CDATA[<p>Hi there,</p>
<p>I&#39;m pretty much a newbie with jquery and jqgrid. I&#39;d like to get a very simple example working but I am having problems.</p>
<p>I have downloaded a custom version of jqgrid by going to the download page and selecting all options so that my header is:</p>
</p>
<p><span lang="EN-GB"></span></p>
<p>/*</p>
<p>* jqGrid 3.6.2 - jQuery Grid</p>
<p>* Copyright (c) 2008, Tony Tomov, mailto:tony@trirand.com</p>
<p>* <a href="http://www.gnu.org/licenses/gpl.html" rel="nofollow" target="_blank">http://www.gnu.org/licenses/gpl.html</a></p>
<p>* Date:2009-12-10</p>
<p>* Modules: grid.base.js; jquery.fmatter.js; grid.custom.js; grid.common.js; grid.formedit.js; jquery.searchFilter.js; grid.inlinedit.js; grid.celledit.js; jqModal.js; jqDnR.js; grid.subgrid.js; grid.treegrid.js; grid.import.js; JsonXml.js; grid.setcolumns.js; grid.postext.js; grid.tbltogrid.js; grid.jqueryui.js;</p>
<p>*/</p>
</p>
<p>I have then put together a very basic html page based on the demo "Loading Data-&#62;Array Data". Here is&#160;the html page that I am using:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#60;!</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">DOCTYPE</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">html</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">PUBLIC</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">"-//W3C//DTD XHTML 1.1//EN"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">html</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">xmlns</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="http://www.w3.org/1999/xhtml"&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">head</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">link</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/css"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">rel</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="Stylesheet"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">href</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="jquery-ui-1.7.2.custom.css"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">/&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">link</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/css"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">rel</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="Stylesheet"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">href</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="ui.jqgrid.css"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">/&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">language</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">src</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="jquery-1.3.2.min.js"&#62;&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">language</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">src</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="jquery-ui-1.7.2.custom.js"&#62;&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">language</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">src</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="jquery.jqGrid.min.js"&#62;&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">language</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">src</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="grid.locale-en.js"&#62;&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="text/javascript"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">language</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="javascript"&#62;</span></span></p>
<p>function</p>
</p>
<p><span style="font-size: x-small;"> LoadGrid()</span></p>
<p>{</p>
<p>$(</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"#list4"</span></span><span style="font-size: x-small;">).jqGrid({</span></p>
<p><span style="font-size: x-small;">datatype: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"local"</span></span><span style="font-size: x-small;">,</span></p>
<p>height: 250,</p>
<p>colNames:[</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Inv No&#39;</span></span><span style="font-size: x-small;">,</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Date&#39;</span></span><span style="font-size: x-small;">, </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Client&#39;</span></span><span style="font-size: x-small;">, </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Amount&#39;</span></span><span style="font-size: x-small;">,</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Tax&#39;</span></span><span style="font-size: x-small;">,</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Total&#39;</span></span><span style="font-size: x-small;">,</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;Notes&#39;</span></span><span style="font-size: x-small;">],</span></p>
<p>colModel:[{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;id&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;id&#39;</span></span><span style="font-size: x-small;">, width:60, sorttype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"int"</span></span><span style="font-size: x-small;">},</span></p>
<p>{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;invdate&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;invdate&#39;</span></span><span style="font-size: x-small;">, width:90, sorttype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"date"</span></span><span style="font-size: x-small;">},</span></p>
<p>{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;name&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;name&#39;</span></span><span style="font-size: x-small;">, width:100},</span></p>
<p>{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;amount&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;amount&#39;</span></span><span style="font-size: x-small;">, width:80, align:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"right"</span></span><span style="font-size: x-small;">,sorttype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"float"</span></span><span style="font-size: x-small;">},</span></p>
<p>{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;tax&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;tax&#39;</span></span><span style="font-size: x-small;">, width:80, align:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"right"</span></span><span style="font-size: x-small;">,sorttype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"float"</span></span><span style="font-size: x-small;">},</span></p>
<p>{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;total&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;total&#39;</span></span><span style="font-size: x-small;">, width:80,align:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"right"</span></span><span style="font-size: x-small;">,sorttype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"float"</span></span><span style="font-size: x-small;">},</span></p>
<p>{name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;note&#39;</span></span><span style="font-size: x-small;">,index:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;note&#39;</span></span><span style="font-size: x-small;">, width:150, sortable:</span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span><span style="font-size: x-small;">} </span><span style="font-size: x-small;">],</span></p>
<p>multiselect:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">true</span></span><span style="font-size: x-small;">,</span></p>
<p>caption:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"Manipulating Array Data"</span></span><span style="font-size: x-small;">});</span></p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">var</span></span><span style="font-size: x-small;"> mydata = [{id:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"1"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-10-01"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"200.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"10.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"210.00"</span></span><span style="font-size: x-small;">},</span></p>
</p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-10-02"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test2"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note2"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"300.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"20.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"320.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"3"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-09-01"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test3"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note3"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"400.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"30.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"430.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"4"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-10-04"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"200.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"10.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"210.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"5"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-10-05"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test2"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note2"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"300.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"20.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"320.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"6"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-09-06"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test3"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note3"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"400.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"30.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"430.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"7"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-10-04"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"200.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"10.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"210.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"8"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-10-03"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test2"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note2"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"300.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"20.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"320.00"</span></span><span style="font-size: x-small;">},</span></p>
<p>{id:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"9"</span></span><span style="font-size: x-small;">,invdate:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"2007-09-01"</span></span><span style="font-size: x-small;">,name:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"test3"</span></span><span style="font-size: x-small;">,note:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"note3"</span></span><span style="font-size: x-small;">,amount:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"400.00"</span></span><span style="font-size: x-small;">,tax:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"30.00"</span></span><span style="font-size: x-small;">,total:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"430.00"</span></span><span style="font-size: x-small;">}];</span></p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"></span></span></p>
<p>for</p>
</p>
<p><span style="font-size: x-small;">(</span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">var</span></span><span style="font-size: x-small;"> i=0;i&#60;=mydata.length;i++)</span></p>
<p>jQuery(</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"#list4"</span></span><span style="font-size: x-small;">).jqGrid(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;addRowData&#39;</span></span><span style="font-size: x-small;">,i+1,mydata[i]);</span></p>
<p>}</p>
</p>
<p>
<span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">script</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"></span></span></p>
<p>&#60;/</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">head</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">body</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">input</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">type</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="button"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">value</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="Load Grid"</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">onclick</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="javascript:LoadGrid();"/&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">p</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">p</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">table</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">id</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">="list4"&#62;&#60;/</span></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">table</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;/</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">body</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>&#60;/</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">html</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#62;</span></span></p>
<p>I have all of the above js files in the same folder as the html page and I am launching the page by simply double-clicking on it from windows explorer.</p>
<p>When I click the button I get an error in IE8 &#39;Object doesn&#39;t support this property or method&#39; which (when I launch the debugger) tells me the error is on the fragment:</p>
<p><span lang="EN-GB">$("#cb_"+$.jgrid.jqID(ts.p.id),this).bind("click",function(){</span></p>
<p><span lang="EN-GB">From what I can tell the null ref is the $.jgrid.jqID function.</span></p>
<p><span lang="EN-GB">Looking at the jquery.jqGrid.min.js file, from what I can tell the section of code which adds the jsID function definition is called by $.extend at the very beginning of the file.</span></p>
<p><span lang="EN-GB">Can anyone help me out with what I need to do to get a simple example working.</span></p>
<p><span lang="EN-GB">TIA</span></p>
<p><span lang="EN-GB">Colin</span></p></p>
]]></description>
        	        	<pubDate>Wed, 13 Jan 2010 18:48:55 +0200</pubDate>
        </item>
</channel>
</rss>