<?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: delGridRow - afterSubmit Event - G.split is not a function</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function</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/delgridrow-aftersubmit-event-g-split-is-not-a-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>krisreddy on delGridRow - afterSubmit Event - G.split is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function#p25069</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function#p25069</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>I did alert the id, it works fine. I was able to find a solution from this forum. here is the link</p>
<p>/blog/?page_id=393/bugs/4-2-0-g-split-is-not-a-function-error/</p>
</p>
<p>Thanks,</p>
</p>
<p>Kris</p>
]]></description>
        	        	<pubDate>Fri, 04 Nov 2011 00:24:09 +0200</pubDate>
        </item>
        <item>
        	<title>tony on delGridRow - afterSubmit Event - G.split is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function#p25057</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function#p25057</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that there is a problem with the id.</p>
<p>Please alert the <strong>gr</strong> in order to see what is</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 03 Nov 2011 09:55:31 +0200</pubDate>
        </item>
        <item>
        	<title>krisreddy on delGridRow - afterSubmit Event - G.split is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function#p25049</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delgridrow-aftersubmit-event-g-split-is-not-a-function#p25049</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I am using jQuery v1.6.2 and jqgrid v4.2</p>
<p>here is my code for deleting a grid row:</p>
<p>serverResponse is "ok" - but I get the error G.split is not a function</p>
<p>It works fine for adding and updating.</p>
</p>
<p>function deleteUser(){</p>
<p>var gr = jQuery("#&#60;?php echo $unique;?&#62;List").jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);</p>
<p>if( gr != null )</p>
<p>if(gr != 2) {</p>
<p>jQuery("#&#60;?php echo $unique;?&#62;List").jqGrid(&#39;delGridRow&#39;,gr,{</p>
<p>reloadAfterSubmit:false,</p>
<p>jqModal:false,</p>
<p>closeOnEscape:true,</p>
<p>afterSubmit:function(serverResponse, postdata){</p>
<p>s = jQuery.parseJSON(serverResponse.responseText);</p>
<p>if (s == "ok"){</p>
<p>return [true,"",""]</p>
<p>}</p>
<p>else</p>
<p>return [false,s,""];</p>
<p>}</p>
<p>});</p>
<p>}</p>
<p>else {</p>
<p>$.jgrid.info_dialog($.jgrid.errors.errcap,&#39;&#60;div class="ui-state-error"&#62;System user cannot be deleted.&#60;/div&#62;&#39;, $.jgrid.edit.bClose,{buttonalign:&#39;right&#39;});</p>
<p>}</p>
<p>else</p>
<p>alert("Please Select Row");</p>
<p>}</p>
</p>
<p>Any help would be appreciated.</p>
</p>
<p>Thanks,</p>
<p>Kris</p></p>
]]></description>
        	        	<pubDate>Wed, 02 Nov 2011 17:40:57 +0200</pubDate>
        </item>
</channel>
</rss>