<?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: extending the editoption readonly</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly</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/feature-request/extending-the-editoption-readonly/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Markus on extending the editoption readonly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7422</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7422</guid>
        	        	<description><![CDATA[<p>but this is also a workaround and i thought you can implement this or another solution to solve this problem</p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 10:44:09 +0300</pubDate>
        </item>
        <item>
        	<title>tony on extending the editoption readonly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7420</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7420</guid>
        	        	<description><![CDATA[<p>Hello Markus,</p>
<p>You can do this in inline edit without these changes in the code.</p>
<p>Here is the easy way</p>
<p>1. Before edit the row get the data from it using getRowData let say myextdata</p>
<p>2. Remove the values myextdata that are editable</p>
<p>(I think there is a easy way to construct this array. Maybe you will get only the values that are needed and construct the appropriate array)</p>
<p>3. Before posting to the server set the extraparam=myextdata</p>
<p>Regards</p>
<p>Tony&#160;</p></p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 07:12:54 +0300</pubDate>
        </item>
        <item>
        	<title>Markus on extending the editoption readonly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7409</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7409</guid>
        	        	<description><![CDATA[<p>I forgott to mention that i use the readonly option for a workarround of a bug. When i set editable=false the column is not editable, but the grid don&#39;t sumbit the values the server side script. With editable=true and readonly=true the grid sends the content of the column, but what i don&#39;t like is that the grid shows a disabled input box in the inline edit mode.</p></p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 03:04:53 +0300</pubDate>
        </item>
        <item>
        	<title>Markus on extending the editoption readonly</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7389</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/extending-the-editoption-readonly#p7389</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>i want to extend the meaning of the editoption readonly. Currently there will be only a inputfield, which is disabled. I don&#39;t like this behabiour of the jqgrid here.</p>
<p>If i set editable=true and readonly=true the values of these colums will be transfered to the server after storing a record, but there is always a disabled input box visible and that is realy confusing for a user.</p>
<p>I did the following changes to the files to prevent the grid to display input fields:</p>
<p>jqGrid\\js\\grid.inlinedit.js(31): if ( nm !== &#39;cb&#39; &#38;&#38; nm !== &#39;subgrid&#39; &#38;&#38; $t.p.colModel[i].editable===true &#38;&#38; !($t.p.colModel[i].editoptions &#38;&#38; $t.p.colModel[i].editoptions.readonly === true) &#38;&#38; !hc) {<br />jqGrid\\js\\grid.inlinedit.js(78): if( $t.p.colModel[i].hidden===true &#124;&#124; ($t.p.colModel[i].editoptions &#38;&#38; $t.p.colModel[i].editoptions.readonly === true)) { tmp[nm] = $(this).html(); }</p>
<p>jqGrid\\js\\grid.formedit.js(433): if((obj.p.colModel[i].editrules &#38;&#38; obj.p.colModel[i].editrules.edithidden == true) &#124;&#124; (obj.p.colModel[i].editable===true &#38;&#38; obj.p.colModel[i].editoptions &#38;&#38; obj.p.colModel[i].editoptions.readonly === true)) {<br />jqGrid\\js\\grid.formedit.js(478): if((obj.p.colModel[i].editrules &#38;&#38; obj.p.colModel[i].editrules.edithidden === true) &#124;&#124; (obj.p.colModel[i].editable===true &#38;&#38; obj.p.colModel[i].editoptions &#38;&#38; obj.p.colModel[i].editoptions.readonly === true)) {</p>
<p>jqGrid\\js\\grid.celledit.js(64): if ($t.p.colModel[iCol].editable===true &#38;&#38; !($t.p.colModel[iCol].editoptions &#38;&#38; $t.p.colModel[iCol].editoptions.readonly === true) &#38;&#38; ed===true) {<br />jqGrid\\js\\grid.celledit.js(287): if ( $t.p.colModel[i].editable ===true &#38;&#38; !($t.p.colModel[i].editoptions &#38;&#38; $t.p.colModel[i].editoptions.readonly === true)) {<br />jqGrid\\js\\grid.celledit.js(307): if ( $t.p.colModel[i].editable ===true &#38;&#38; !($t.p.colModel[i].editoptions &#38;&#38; $t.p.colModel[i].editoptions.readonly === true)) {</p>
<p>I testet the changes in the files for the inline editing. Form- and cellediting is untestet till now, but it should work.</p>
</p>
<p>Kind Regards<br />Markus</p>
]]></description>
        	        	<pubDate>Mon, 22 Jun 2009 08:05:40 +0300</pubDate>
        </item>
</channel>
</rss>