<?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: setColProp on editable</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable</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/setcolprop-on-editable/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>qlogic5 on setColProp on editable</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable#p5920</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable#p5920</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I was using version is 3.4.2.</p>
<p>It appears in a subgrid inline edit by default users can select and perform an inline&#160;edit on any parent. Since you using jquery and provide events within the&#160;grid in the right places i was able to utilize jquery to disable parents buttons without much difficulty.</p>
<p>Thank you for viewing my post.</p>
<p>cheers</p>
]]></description>
        	        	<pubDate>Tue, 07 Apr 2009 16:21:15 +0300</pubDate>
        </item>
        <item>
        	<title>tony on setColProp on editable</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable#p5877</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable#p5877</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version of jqGrid do you use? Try with the latest stable.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 07 Apr 2009 03:33:07 +0300</pubDate>
        </item>
        <item>
        	<title>qlogic5 on setColProp on editable</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable#p5837</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcolprop-on-editable#p5837</guid>
        	        	<description><![CDATA[<p>I have a subgrid with a grid.</p>
<p>In the parent grid&#160;I add three buttons to the end of the parent grid&#160;...</p>
<p>&#160;loadComplete: function(){<br />&#160;&#160;&#160;&#160;&#160;&#160; ids = jQuery("#grid").getDataIDs();<br />&#160;&#160;&#160;&#160;&#160;&#160; for(var i=0;i&#60;ids.length;i++){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var cl = ids[i];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; be = "&#60;input class=&#39;smallinput&#39; type=&#39;button&#39; value=&#39;Edit&#39; onclick=jQuery(&#39;#grid&#39;).editRow("+cl+"); /&#62; ";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; se = "&#60;input class=&#39;smallinput&#39; type=&#39;button&#39; value=&#39;Save&#39; onclick=jQuery(&#39;#grid&#39;).saveRow("+cl+"); /&#62; ";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ce = "&#60;input class=&#39;smallinput&#39; type=&#39;button&#39; value=&#39;Can&#39;&#160; onclick=jQuery(&#39;#grid&#39;).restoreRow("+cl+"); /&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#grid").setRowData(ids[i],{actions:be+se+ce})<br />&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>In the subGridRowExpanded event&#160;i set the parent grid columns who have editable: true to false.</p>
<p>If the subGridRowColapsed event i set the parent grid columns who have editable:false to true. The point here is to disable anyone editing a parent grid row until they have completed with the sub grid.</p>
<p>All this works well, the only problem is the editRow, saveRow and restoreRow no longer trigger an inline ediit on the parent rows. Also if I do not expand the subgrid the inline editing works.</p>
<p>Is there a better approach than editable:false on the parent columns, for example:&#160;disable the editRow, saveRow and restoreRow buttons!</p>
</p>
<p>any ideas?</p>
]]></description>
        	        	<pubDate>Fri, 03 Apr 2009 12:54:43 +0300</pubDate>
        </item>
</channel>
</rss>