<?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: How do I add post data to the dataUrl in editoptions?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions</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/how-do-i-add-post-data-to-the-dataurl-in-editoptions/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tim on How do I add post data to the dataUrl in editoptions?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17510</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17510</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>My js skills are non-existent so I will not even think about checking anything in github, but here&#39;s somethin to think about:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6668' value='Select Code' data-codeid='sfcode6668' /></p>
<div class='sfcode' id='sfcode6668'>
<div class=&#34;&#34;&#34;sfcode&#34;&#34;&#34;>grid.common.js : line 246</p>
<p>- function createEl(eltype,options,vl,autowidth, ajaxso) {<br />+ function createEl(rowid,eltype,options,vl,autowidth, ajaxso) {</p>
<p>grid.common.js : line 319</p>
<p>- url: options.dataUrl,<br />+ url: options.dataUrl+&#39;&#38;rowId=&#39;+rowid,</p>
</div>
<p>// may want to pass a variable into define the rowId arg name</p>
<p>// handle &#39;?&#39; vs. &#39;&#38;&#39; &#8230; dependant upon url? &#8211; all mine will not require it</p>
<p>grid.celledit.js : line 75</p>
<p>- var elc = createEl($t.p.colModel[iCol].edittype,opt,tmp,true,$.extend({},$.jgrid.ajaxOptions,$t.p.ajaxSelectOptions &#124;&#124; {});<br />+ var elc = createEl($t.rows[iRow].id,$t.p.colModel[iCol].edittype,opt,tmp,true,$.extend({},$.jgrid.ajaxOptions,$t.p.ajaxSelectOptions &#124;&#124; {});</p>
<p>grid.inlineedit.js : line 41<br />- var elc = createEl(cm[i].edittype,opt,tmp,true,$.extend({},$.jgrid.ajaxOptions,$t.p.ajaxSelectOptions &#124;&#124; {}));<br />+ var elc = createEl(rowid,cm[i].edittype,opt,tmp,true,$.extend({},$.jgrid.ajaxOptions,$t.p.ajaxSelectOptions &#124;&#124; {}));</p>
<p>grid.formedit.js : line 738<br />- elc = createEl(this.edittype,opt,tmp,false,$.extend({},$.jgrid.ajaxOptions,obj.p.ajaxSelectOptions &#124;&#124; {}));<br />+ elc = createEl(rowid,this.edittype,opt,tmp,false,$.extend({},$.jgrid.ajaxOptions,obj.p.ajaxSelectOptions &#124;&#124; {}));</p>
</div>
<p>tim</p></p>
]]></description>
        	        	<pubDate>Fri, 28 May 2010 06:18:57 +0300</pubDate>
        </item>
        <item>
        	<title>tim on How do I add post data to the dataUrl in editoptions?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17436</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17436</guid>
        	        	<description><![CDATA[<p>bump.....&#160;nothing?</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Tue, 25 May 2010 02:46:42 +0300</pubDate>
        </item>
        <item>
        	<title>tim on How do I add post data to the dataUrl in editoptions?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17367</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17367</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I realize you&#39;re pretty busy, but if you could please look into this a little further.</p>
<p>There are 2 issues with setColProp (I have to use it with formatCell to support dynamic selectboxes) :</p>
<p>1. tabbing does not support the correct event sequences as posted here:</p>
<p><a rel="nofollow" href="/blog/?page_id=393/bugs/beforeeditcell-event-firing-too-soon-when-tabbing-over/" target="_blank"></a><a href="http://www.trirand.com/blog/?p" rel="nofollow" target="_blank">http://www.trirand.com/blog/?p</a>.....bing-over/</p>
<p>2. When using formatCell with setColProp, pre-existing editoptions are lost &#8211; they do not work (example add &#39;size: 14&#39; to the colModels editoptions, and you&#39;ll discover formatCell kills it.)</p>
<p>This is a real problem. I would rather have the column model editoptions dataUrl support post data, and I think doing this would benefit everyone for other things, but I could live with any solution that has no bugs.</p>
</p>
<p>Please and Thanks,</p>
<p>tim</p></p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 20:22:32 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How do I add post data to the dataUrl in editoptions?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17362</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17362</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>var myurl = &#39;myurl?rowId=&#39;+rowid;</p>
<p>$("#grid").jqGrid(&#39;setColProp&#39;,&#39;mycol&#39;,{editoptions:{dataUrl:myurl}});</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 20:09:02 +0300</pubDate>
        </item>
        <item>
        	<title>tim on How do I add post data to the dataUrl in editoptions?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17264</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-add-post-data-to-the-dataurl-in-editoptions#p17264</guid>
        	        	<description><![CDATA[<p>I know the first response I will get will be -&#62; "use setColProp in formatCell event".</p>
<p>But I&#39;ve been down that road and back again. setColProp is just too buggy and has too many side-effects for me to use reliably.</p>
<p>I&#39;ve read almost every post on this forum and I&#39;ve seen a half a dozen posts with users asking how to accomplish this, normally &#39;setColProp&#39; is the only work-around.</p>
<p>Is there anyone that has been able to do this and can help?</p>
<p>I really just need to append the rowId:</p>
<p>colModel [...</p>
<p>editoptions:{dataUrl:&#39;myurl?rowId=&#39;+rowid,....</p>
<p>....]</p>
<p>Thanks</p>
<p>tim</p></p>
]]></description>
        	        	<pubDate>Tue, 18 May 2010 06:07:49 +0300</pubDate>
        </item>
</channel>
</rss>