<?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: ajaxDelOptions is not working properly in 4.6 &#38; 4.7</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/ajaxdeloptions-is-not-working-properly-in-4-6-4-7</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/ajaxdeloptions-is-not-working-properly-in-4-6-4-7/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>office_rat on ajaxDelOptions is not working properly in 4.6 &#38; 4.7</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/ajaxdeloptions-is-not-working-properly-in-4-6-4-7#p31455</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/ajaxdeloptions-is-not-working-properly-in-4-6-4-7#p31455</guid>
        	        	<description><![CDATA[<p>Hey there.</p>
<p>I've noticed ajaxDelOptions (when press "Delete" button for row) is not working properly.</p>
<p>Please see my js-code below:</p>
<div class="sfcode">
<pre class="brush-javascript syntax">$SchemaAttrGrid.jqGrid()[0].p.ajaxDelOptions = new Object();
Â Â Â Â Â Â Â  $SchemaAttrGrid.jqGrid()[0].p.ajaxDelOptions.beforeSend = function(event, jqXHR) {
Â Â Â Â Â Â Â Â Â Â Â  return SchemaAttributeGridBeforeEditDelete(event, jqXHR);
Â Â Â Â Â Â Â  }</pre></div><p>And following code for "Edit" button is working properly (in same manner):</p>
<div class="sfcode">
<pre class="brush-javascript syntax">Â Â Â Â Â Â Â  
$SchemaAttrGrid.jqGrid()[0].p.ajaxRowOptions = new Object();
$SchemaAttrGrid.jqGrid()[0].p.ajaxRowOptions.beforeSend = function(event, jqXHR) {
Â Â Â Â Â Â Â Â Â Â Â  return SchemaAttributeGridBeforeEditDelete(event, jqXHR);
Â Â Â Â Â Â Â  }</pre></div><pre class="brush-javascript syntax">ajaxDelOptions have only declaration (line #8450) and usage code (line #8592).<br />
I think in some place inside of method delGridRow (for example #8460) should be following line:</p>
<div class="sfcode">
<pre class="brush-javascript syntax">rp_ge[$t.p.id].ajaxDelOptions = $t.p.ajaxDelOptions !== undefined ?</pre></div><p> class="brush-javascript syntax">$t[0].p.ajaxDelOptions : {}</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 17:00:50 +0200</pubDate>
        </item>
</channel>
</rss>