<?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: Cell edit: dataUrl row parameter?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cell-edit-dataurl-row-parameter</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/cell-edit-dataurl-row-parameter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Cell edit: dataUrl row parameter?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-edit-dataurl-row-parameter#p9084</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-edit-dataurl-row-parameter#p9084</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Already fixed in GitHub.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 04:20:41 +0300</pubDate>
        </item>
        <item>
        	<title>jbloom on Cell edit: dataUrl row parameter?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cell-edit-dataurl-row-parameter#p8932</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cell-edit-dataurl-row-parameter#p8932</guid>
        	        	<description><![CDATA[<p>I&#39;m using dataUrl to acquire the select options, and I need to have the server response depend on which row of the grid is being edited. But there doesn&#39;t seem to be any way to communicate that row information in the GET of the select options.</p>
<p>I tried modifying the column option dataURL parameter in formatCell, but that doesn&#39;t work properly. The problem seems to be that in the jqGrid editCell function, the column options are copied (via $.extend) into the local "opt" variable <em>before</em> the call the formatCell. This copy is then eventually passed to createEl. Thus no changes made to the column options within formatCell affect the editing of the current column.</p>
<p>The simple fix, I think, is to move the line in editCell:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1542' value='Select Code' data-codeid='sfcode1542' /></p>
<div class='sfcode' id='sfcode1542'>
<p>var opt = $.extend({}, $t.p.colModel[iCol].editoptions &#124;&#124; {} ,{id:iRow+"_"+nm,name:nm});</p>
</p>
</div>
<p>to place it after the call to formatCell. (I haven&#39;t tested that, though.)</p>
<p>Another solution would be to provide a mechanism to extend the parameters passed to the server.</p>
<p>By the way, I think this is also the source of the problem reported in the topic named "jqGrid dynamic select option."</p></p>
]]></description>
        	        	<pubDate>Mon, 24 Aug 2009 05:29:27 +0300</pubDate>
        </item>
</channel>
</rss>