<?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: g.headers&#091;c&#093; is undefined</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined</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/bugs/g-headersc-is-undefined/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>komaruloh on g.headers&#091;c&#093; is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16772</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16772</guid>
        	        	<description><![CDATA[<p>I would like to update this thread. The problem seems to be conflict beetwen jqGrid and jquery.validate. When I remove the jquery.validate, the jqGrid is working as expected.</p>
</p>
<p>Thanks for the reply and views.<img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Wed, 28 Apr 2010 12:39:16 +0300</pubDate>
        </item>
        <item>
        	<title>komaruloh on g.headers&#091;c&#093; is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16605</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16605</guid>
        	        	<description><![CDATA[<p>Thanks for the response tony.</p>
<p>CMIIW, is that an issue? Since if I define ONLY ONE column in header using the same JSON data, 6 column in response, the error is gone.</p>
</p>
<p>I have tried to debug the jqgrid to findout what is happening. It seems that <strong>g</strong> only has single header. While the jqgrid trying to access non-existance index in <strong>g.headers</strong> since 1 is assigned to <strong>c</strong> as the second index (which is not exist in the given runtime).</p>
</p>
<p>I may have do it in the wrong way or miss some setting in using jqgrid. And forgive me for my english, since it is not my native language. 😀</p>
</p>
<p>Thanks in advance</p>
]]></description>
        	        	<pubDate>Thu, 22 Apr 2010 19:13:41 +0300</pubDate>
        </item>
        <item>
        	<title>tony on g.headers&#091;c&#093; is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16592</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16592</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You have 5 columns defined, but your response contain 6 like this:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8142' value='Select Code' data-codeid='sfcode8142' /></p>
<div class='sfcode' id='sfcode8142'>
<p>{"page":"1","total":24,"records":239,"rows":[<br />{"id":"1",</p>
<p>"cell":["1","AF","AFGHANISTAN","Afghanistan","AFG","4"]},</p>
<p>...</p>
</div>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Wed, 21 Apr 2010 20:53:36 +0300</pubDate>
        </item>
        <item>
        	<title>komaruloh on g.headers&#091;c&#093; is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16557</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/g-headersc-is-undefined#p16557</guid>
        	        	<description><![CDATA[<p>Not sure where to put this, but this room seem the best to me. 😀</p>
<p>Anyway I got this "g.headers[c] is undefined" error when I try to load json data into jqgrid.</p>
<p>I am using jqgrid 3.6.4 on jquery 1.3.2. My jqgrid setting is like this :</p>
</p>
<blockquote>
<p>jQuery(document).ready(function(){ <br />&#160;&#160;&#160; jQuery("#list").jqGrid({ &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#39;getCountiresIso&#39;, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;ISO&#39;,&#39;Name&#39;, &#39;Printable Name&#39;,&#39;ISO3&#39;,&#39;Numeric Code&#39;], &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[ {name:&#39;iso&#39;, index:&#39;iso&#39;, width:55}, &#160;<br />&#160;&#160;&#160;&#160;&#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}, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;printable_name&#39;, index:&#39;printable_name&#39;, width:150, align:&#39;right&#39;}, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;iso3&#39;, index:&#39;iso3&#39;, width:80, align:&#39;right&#39;}, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;numcode&#39;, index:&#39;numcode&#39;, widthwidth:80, align:&#39;right&#39;}], <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;), &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:10, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[10,20,30], &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;id&#39;, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc", &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;My first grid&#39; }); <br />}); <br />jQuery("#list").jqGrid(&#39;navGrid&#39;,&#39;#pager&#39;,{edit:false,add:false,del:false});</p>
</blockquote>
<p>surely I have these</p>
<blockquote>
<p>&#60;table id="list" class="scroll"&#62;&#60;/table&#62; &#160;<br />&#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;</p>
</blockquote>
<p>The json is</p>
<div class="netInfoResponseText netInfoText ">
<pre><p><input type='button' class='sfcodeselect' name='sfselectit1352' value='Select Code' data-codeid='sfcode1352' /></p><div class='sfcode' id='sfcode1352'>{"page":"1","total":24,"records":239,"rows":[{"id":"1","cell":["1","AF","AFGHANISTAN","Afghanistan","AFG"</div><p><input type='button' class='sfcodeselect' name='sfselectit3356' value='Select Code' data-codeid='sfcode3356' /></p><div class='sfcode' id='sfcode3356'>,"4"]},{"id":"2","cell":["2","AL","ALBANIA","Albania","ALB","8"]},{"id":"3","cell":["3","DZ","ALGERIA"</div><p><input type='button' class='sfcodeselect' name='sfselectit6967' value='Select Code' data-codeid='sfcode6967' /></p><div class='sfcode' id='sfcode6967'>,"Algeria","DZA","12"]},{"id":"4","cell":["4","AS","AMERICAN SAMOA","American Samoa","ASM","16"]},{"id"</div><p><input type='button' class='sfcodeselect' name='sfselectit3216' value='Select Code' data-codeid='sfcode3216' /></p><div class='sfcode' id='sfcode3216'>:"5","cell":["5","AD","ANDORRA","Andorra","AND","20"]},{"id":"6","cell":["6","AO","ANGOLA","Angola","AGO"</div><p><input type='button' class='sfcodeselect' name='sfselectit7512' value='Select Code' data-codeid='sfcode7512' /></p><div class='sfcode' id='sfcode7512'>,"24"]},{"id":"7","cell":["7","AI","ANGUILLA","Anguilla","AIA","660"]},{"id":"8","cell":["8","AQ","ANTARCTICA"</div><p><input type='button' class='sfcodeselect' name='sfselectit3268' value='Select Code' data-codeid='sfcode3268' /></p><div class='sfcode' id='sfcode3268'>,"Antarctica",null,null]},{"id":"9","cell":["9","AG","ANTIGUA AND BARBUDA","Antigua and Barbuda","ATG"</div><p><input type='button' class='sfcodeselect' name='sfselectit797' value='Select Code' data-codeid='sfcode797' /></p><div class='sfcode' id='sfcode797'>,"28"]},{"id":"10","cell":["10","AR","ARGENTINA","Argentina","ARG","32"]}]}<br /><br />Is there anyone can point me where have I gone wrong? <br />FYI, if I only set one column for both header and data I didn&#39;t find the error.<br /><br />thanks in advance</div></pre>
</div>
]]></description>
        	        	<pubDate>Tue, 20 Apr 2010 13:29:29 +0300</pubDate>
        </item>
</channel>
</rss>