<?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: Problems With AddRowData</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problems-with-addrowdata</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/problems-with-addrowdata/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mdemarco on Problems With AddRowData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problems-with-addrowdata#p29898</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problems-with-addrowdata#p29898</guid>
        	        	<description><![CDATA[<p>I have an ajax panel which when opened creates a grid on the right side of the screen containing a jqgrid. I can add rows to the grid but when I close thepanel and reopen it I get a recursion error when trying to add another row. The action of adding a row occurs by clicking on the + icon at the bottom of the grid. Included below is the code. The Error i get is Uncaught RangeError: Maximum call stack size exceeded. I do know that this function gets called repetitively after the panel is opened again and the + icon is clicked.<br />Anyone know what the issue may be?</p>
</p>
<p>&#160;oldAddRowData = $.fn.jqGrid.addRowData;<br />&#160;addRowData: function (rowid, rdata, pos, src) {&#160; &#160; $.jgrid.extend({<br />&#160;addmode = true;&#160; &#160; &#160; &#160; &#160; &#160; fromadd = true;<br />&#160;SwitchGridHighlightOff(&#39;#NewProductGrid&#39;);<br />&#160;$(&#39;.navtable&#39;).find(&#39;.ui-icon-pencil&#39;).css(&#39;display&#39;, &#39;none&#39;);<br />&#160;Verb: &#39;i&#39; };<br />&#160;rdata = { ProductGroupId: strproductgroupid, ProductCode: &#39;&#39;, Description: &#39;&#39;, BoxQuantity: &#39;1&#39;, Company: companycode,&#160;</p>
<p>&#160;return oldAddRowData.call(this, rowid, rdata, pos, src);</p>
<p>}&#160; &#160;</p>
<p>});</p>
</p>
<div><span style="color: #ff0000; font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap;"><br /></span></div>
]]></description>
        	        	<pubDate>Wed, 27 Nov 2013 18:56:36 +0200</pubDate>
        </item>
</channel>
</rss>