<?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: Multiple View/Edit forms opening on double click of subgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-viewedit-forms-opening-on-double-click-of-subgrid</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/multiple-viewedit-forms-opening-on-double-click-of-subgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Multiple View/Edit forms opening on double click of subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-viewedit-forms-opening-on-double-click-of-subgrid#p27775</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-viewedit-forms-opening-on-double-click-of-subgrid#p27775</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>To prevent propagation you will need to return false at end of the ondouble click row events</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 22 Nov 2012 12:16:16 +0200</pubDate>
        </item>
        <item>
        	<title>PaulR on Multiple View/Edit forms opening on double click of subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-viewedit-forms-opening-on-double-click-of-subgrid#p27762</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-viewedit-forms-opening-on-double-click-of-subgrid#p27762</guid>
        	        	<description><![CDATA[<p>We&#39;ve upgrade from jqGrid 4.3.1 to 4.4.1, and noticed a difference in the way the form behavior operates.</p>
</p>
<p>The page is implemented with a main grid and a sub grid, when the row for either is double clicked, then the view or edit form is displayed for that particular row.</p>
</p>
<p>What is instead happening now, is when the subgrid row is double-clicked, then two view forms are opened. &#160;One for the subgrid&#39;s row, and one for the parent row.</p>
</p>
<p>This behavior only happens on the ondblClickRow event, not when explicitly opening the view form with a pager button. &#160;Reviewing the ondblClickRow call, I don&#39;t see what could be causing this to happen. &#160;Any insight would be appreciated.&#160;</p>
</p>
<p>The ondblClickRow definition:</p>
<p>Main Grid</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8386' value='Select Code' data-codeid='sfcode8386' /></p>
<div class='sfcode' id='sfcode8386'>ondblClickRow: function(rowid) {jQuery(&#34;#list&#34;).jqGrid(&#39;viewGridRow&#39;, rowid,{modal:true, width:1000, caption:&#34;View Sessions&#34;, recreateForm:true,beforeShowForm: function(form) {jQuery(&#34;#list&#34;).setColProp(&#39;last_instruct&#39;,{formatter:&#34;unformat&#34;});},});},</div>
</p>
<p>Sub Grid</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6611' value='Select Code' data-codeid='sfcode6611' /></p>
<div class='sfcode' id='sfcode6611'>ondblClickRow: function(rowid) {jQuery(&#34;#&#34;+subgrid_table_id).jqGrid(&#39;viewGridRow&#39;, rowid,{width:1000, modal:true, caption:&#34;View Steps&#34;});},caption: &#34;Session Steps for Session &#34;+row_id});</div>
]]></description>
        	        	<pubDate>Tue, 20 Nov 2012 23:33:19 +0200</pubDate>
        </item>
</channel>
</rss>