<?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: Error on delGridRow call - Grid in local data mode</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode</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/error-on-delgridrow-call-grid-in-local-data-mode/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>nospherato on Error on delGridRow call - Grid in local data mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p26176</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p26176</guid>
        	        	<description><![CDATA[<blockquote>
<p>Vili said:</p>
<p>Another bug on the same topic. Upon deleting a row in local mode:</p>
</p>
<p>$(&#39;#grrid&#39;).jqGrid(&#39;delRowData&#39;, id);</p>
</p>
<p><a class="console-message-url " title="http://vili.evidenca/jlib/js/grid.base.js" href="http://vili.evidenca/jlib/js/grid.base.js" target="_blank">grid.base.js:2314</a>&#160;Uncaught TypeError: Cannot read property &#39;id&#39; of undefined</p>
</p>
<div class=" ">if($(ptr).length === 0 &#124;&#124; ptr[0].className.indexOf( &#39;ui-state-disabled&#39; ) &#62; -1 &#124;&#124; $(td,ts).closest("table.ui-jqgrid-btable")[0].id.replace("_frozen","") !== ts.id ) {</div>
<div>return this;</div>
<div>}</div>
</p>
<p>best regards, Vili</p>
<p>P.S. &#160;amazing work with jqGrid, thx</p>
</blockquote>
<hr />
<p>i&#39;m facing the same issue here, any recommendations?</p>
]]></description>
        	        	<pubDate>Mon, 19 Mar 2012 19:27:55 +0200</pubDate>
        </item>
        <item>
        	<title>vitrest on Error on delGridRow call - Grid in local data mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25426</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25426</guid>
        	        	<description><![CDATA[<blockquote>
<p>yet said:</p>
<p>The following patch in 4.3.0 around line 8273 fixes the problem for me:</p>
</p>
<p>if (typeof postdata &#160;== "string")</p>
<p>&#160; &#160;toarr = postdata.split(",");</p>
<p>else</p>
<p>&#160; &#160; toarr = postdata;</p>
</p>
</blockquote>
<hr />
<p>Hi yet,</p>
<p>yes, I adopted a similar solution:</p>
</p>
<p>jqGrid v4.3.0-1 commit ge58d18f</p>
<p>grid.formedit.js, line 1577:</p>
<p style="padding-left: 30px;">&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3214' value='Select Code' data-codeid='sfcode3214' /></p>
<div class='sfcode' id='sfcode3214'>toarr = ($.isArray(postdata) ? postdata : postdata.split(&#34;,&#34;)); //original code: postdata.split(&#34;,&#34;);</div></p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 12:47:58 +0200</pubDate>
        </item>
        <item>
        	<title>yet on Error on delGridRow call - Grid in local data mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25418</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25418</guid>
        	        	<description><![CDATA[<p>The following patch in 4.3.0 around line 8273 fixes the problem for me:</p>
</p>
<p>if (typeof postdata &#160;== "string")</p>
<p>&#160; &#160;toarr = postdata.split(",");</p>
<p>else</p>
<p>&#160; &#160; toarr = postdata;</p></p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 10:30:29 +0200</pubDate>
        </item>
        <item>
        	<title>yet on Error on delGridRow call - Grid in local data mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25410</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25410</guid>
        	        	<description><![CDATA[<blockquote>
<p>vitrest said:</p>
<p>Hi,</p>
<p>first I&#39;d like to thank you all for your outstanding work!</p>
</p>
<p>Today, testing jqGrid 4.3.0&#160;in a project I&#39;m working on, I&#39;ve found a problem deleting rows (delGridRow call) from grid (working in "local" mode), at line 8273 of jquery.jqGrid.js:&#160;</p>
<p style="padding-left: 30px;">&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3158' value='Select Code' data-codeid='sfcode3158' /></p>
<div class='sfcode' id='sfcode3158'>toarr = postdata.split(&#34;,&#34;);</div>
<p style="padding-left: 30px;">&#160;</p>
<p>In my case, postdata is an array (1 element, containing a GUID - my record&#39;s PK) and this line returns this error:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4317' value='Select Code' data-codeid='sfcode4317' /></p>
<div class='sfcode' id='sfcode4317'>Object does not support this property or method &#39;split&#39;</div>
</p>
<p>Thanks in advance,</p>
<p>Vittorio</p>
</p>
</blockquote>
<hr />
<p>I can confirm this issue.</p></p>
]]></description>
        	        	<pubDate>Wed, 14 Dec 2011 15:23:22 +0200</pubDate>
        </item>
        <item>
        	<title>Vili on Error on delGridRow call - Grid in local data mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25408</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25408</guid>
        	        	<description><![CDATA[<p>Another bug on the same topic. Upon deleting a row in local mode:</p>
</p>
<p>$(&#39;#grrid&#39;).jqGrid(&#39;delRowData&#39;, id);</p>
</p>
<p><a class="console-message-url " title="http://vili.evidenca/jlib/js/grid.base.js" href="http://vili.evidenca/jlib/js/grid.base.js" target="_blank">grid.base.js:2314</a>&#160;Uncaught TypeError: Cannot read property &#39;id&#39; of undefined</p>
</p>
<div class=" "></div>
<div class=" ">if($(ptr).length === 0 &#124;&#124; ptr[0].className.indexOf( &#39;ui-state-disabled&#39; ) &#62; -1 &#124;&#124; $(td,ts).closest("table.ui-jqgrid-btable")[0].id.replace("_frozen","") !== ts.id ) {</div>
<div>return this;</div>
<div>}</div>
</p>
<p>best regards, Vili</p>
<p>P.S. &#160;amazing work with jqGrid, thx</p>
]]></description>
        	        	<pubDate>Wed, 14 Dec 2011 12:09:08 +0200</pubDate>
        </item>
        <item>
        	<title>vitrest on Error on delGridRow call - Grid in local data mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25372</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-on-delgridrow-call-grid-in-local-data-mode#p25372</guid>
        	        	<description><![CDATA[</p>
<p>Hi,</p>
<p>first I&#39;d like to thank you all for your outstanding work!</p>
</p>
<p>Today, testing jqGrid 4.3.0&#160;in a project I&#39;m working on, I&#39;ve found a problem deleting rows (delGridRow call) from grid (working in "local" mode), at line 8273 of jquery.jqGrid.js:&#160;</p>
<p style="padding-left: 30px;">&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5118' value='Select Code' data-codeid='sfcode5118' /></p>
<div class='sfcode' id='sfcode5118'>toarr = postdata.split(&#34;,&#34;);</div>
<p style="padding-left: 30px;">&#160;</p>
<p>In my case, postdata is an array (1 element, containing a GUID - my record&#39;s PK) and this line returns this error:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6269' value='Select Code' data-codeid='sfcode6269' /></p>
<div class='sfcode' id='sfcode6269'>Object does not support this property or method &#39;split&#39;</div>
</p>
<p>Thanks in advance,</p>
<p>Vittorio</p></p>
]]></description>
        	        	<pubDate>Mon, 12 Dec 2011 21:10:44 +0200</pubDate>
        </item>
</channel>
</rss>