<?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: afterInsertRow not firing in 3.5</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35</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/afterinsertrow-not-firing-in-35/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on afterInsertRow not firing in 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35#p5734</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35#p5734</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you for this. It is a bug when a xml datatype is used in 3.5 only</p>
<p>The right correction is:</p>
<p><span class="sfcode">if(afterInsRow) {ts.p.afterInsertRow(row.id,rd,this);}</span></p>
<p>Thanks.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 01 Apr 2009 03:59:13 +0300</pubDate>
        </item>
        <item>
        	<title>akremedy on afterInsertRow not firing in 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35#p5710</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35#p5710</guid>
        	        	<description><![CDATA[<p>I figured this problem out, but I&#39;m not sure if it is the right thing to do.</p>
<p>I made a small change in jquery.base.js (again, version 3.5Alpha), I changed row 800:</p>
<p><span class="sfcode">if(afterInsRow===true) {ts.p.afterInsertRow(row.id,rd,this);}</span></p>
<p>to</p>
<p><span class="sfcode">if(afterInsRow = true) {ts.p.afterInsertRow(row.id,rd,this);}</span></p>
<p>afterInserRow executes now, where it never would before.&#160; I don&#39;t know if this breaks anything anywhere else?</p>
<p>Thanks,</p>
<p>Adam</p>
]]></description>
        	        	<pubDate>Tue, 31 Mar 2009 21:33:25 +0300</pubDate>
        </item>
        <item>
        	<title>akremedy on afterInsertRow not firing in 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35#p5704</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/afterinsertrow-not-firing-in-35#p5704</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m really enjoying the 3.5Alpha release - the theming support is huge!</p>
<p>I am having some trouble getting afterInsertRow to execute.&#160; It works as expected in another project using jqGrid 3.4, but in a new 3.5 project, it simply doesn&#39;t execute.&#160; At first I was trying to set row color and thought it was a conflict in the theming css, but even executing an alert() simply does nothing (both FF3 and IE7).</p>
<p>Here is part of the code...I am using a grid as a subgrid, but the afterInsertRow applies only to the main grid, and it works fine in my version 3.4 project which also uses grids as subgrids.</p>
<p>Any ideas?</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160; jQuery("#mylinks_grid_table").jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; afterInsertRow: function(rowid,rData) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert(&#39;hi&#39;);<br />//&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if("x" == "x") {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#"+rowid, "#mylinks_grid_table").css({color:&#39;red&#39;});<br />//&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; },<br />&#160;&#160;&#160; &#160;&#160;&#160; caption: &#39;My Family\\&#39;s Links&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;id&#39;, index:&#39;id&#39;, width:40, align:&#39;center&#39;,editable:false,editoptions:{readonly:true,size:10},hidden:true},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;flag&#39;, index:&#39;flag&#39;, width:70, align:&#39;center&#39;,editable:false,editoptions:{readonly:true},hidden:false},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;added&#39;, index:&#39;added&#39;, width: 70, editable:false, sortable:true},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;share&#39;, index:&#39;share&#39;, width: 70, align:&#39;center&#39;,editable:true,edittype:"checkbox",editoptions:{value:"yes:no"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;name&#39;, index:&#39;name&#39;, width: 200, editable:true,editoptions:{size:45}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;link&#39;, index:&#39;link&#39;, width: 300, editable:true,editoptions:{size:45}, formatter:&#39;link&#39;}<br />&#160;&#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;ID&#39;,&#39;Flag&#39;,&#39;Added&#39;,&#39;Share&#39;,&#39;Name&#39;,&#39;Link&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; forceFit: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; height: 572,<br />&#160;&#160;&#160; &#160;&#160;&#160; imgpath: gridimgpath,<br />&#160;&#160;&#160; &#160;&#160;&#160; mtype: &#39;GET&#39;,</p>
]]></description>
        	        	<pubDate>Tue, 31 Mar 2009 14:09:43 +0300</pubDate>
        </item>
</channel>
</rss>