<?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: Firebug error: prm is undefined.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/firebug-error-prm-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/help/firebug-error-prm-is-undefined/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Jazar on Firebug error: prm is undefined.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/firebug-error-prm-is-undefined#p19936</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/firebug-error-prm-is-undefined#p19936</guid>
        	        	<description><![CDATA[<p>I&#39;m trying to load a jqgrid with json data (&#38; virtual scrolling). &#160;When using firebug it seems to halt on &#39;i = prm.length&#39; (source code grid.base.js, function getAccessor, line 126, jqGrid 3.8) where prm is undefined with every data row. It seems that the error is handled after its raised but I&#39;m wondering if there is something wrong on my end or if the code should be modified to not crash firebug on every row.&#160;</p>
<p>The error begins here in function addJSONData:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7691' value='Select Code' data-codeid='sfcode7691' /></p>
<div class='sfcode' id='sfcode7691'>
<p>if( ts.p.keyIndex===false ) {</p>
<div id=&#34;&#34;sb96-L1185&#34;&#34; class=&#34;&#34;sourceRow&#34;><span style=&#34;&#34;white-space:&#34;><span style=&#34;&#34;white-space:&#34;> </span> <span style=&#34;&#34;white-space:&#34;> </span></span>idn = dReader.id;</div>
<div id="sb96-L1186" class="sourceRow">} else {</div>
<div id="sb96-L1187" class="sourceRow">idn = ts.p.keyIndex;</div>
<div id="sb96-L1188" class="sourceRow">}&#160;</div>
</div>
<div class="sourceRow">ts.p.keyIndex is 0 therfore idn is set to 0 which goes to obj[0] (function getAccessor line 120) is undefined therefore finally prm is undefined. I have the first column defined with &#39;key:true&#39;.<span style="white-space: pre;"> </span></div>
<div class="sourceRow"><span style="white-space: pre;">A</span>ny help is appreciated. Thank you.</div>
]]></description>
        	        	<pubDate>Wed, 22 Sep 2010 18:15:03 +0300</pubDate>
        </item>
</channel>
</rss>