<?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: Adding a parameter to Edit Form submit</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/adding-a-parameter-to-edit-form-submit</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/adding-a-parameter-to-edit-form-submit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Adding a parameter to Edit Form submit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-a-parameter-to-edit-form-submit#p14159</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-a-parameter-to-edit-form-submit#p14159</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you post the code, it will help me to see what you do.</p>
<p>Generally, you can set this like this (suppose you call the method separatley - if in navigator set this in the place of edit and/or add options)</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1573' value='Select Code' data-codeid='sfcode1573' /></p>
<div class='sfcode' id='sfcode1573'>
<p>$("#mygrid").editGridRow(rowid, {editData: {mykey:&#39;myvalue&#39;...},...});</p>
</div>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 14:08:24 +0200</pubDate>
        </item>
        <item>
        	<title>jack_s on Adding a parameter to Edit Form submit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-a-parameter-to-edit-form-submit#p14071</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-a-parameter-to-edit-form-submit#p14071</guid>
        	        	<description><![CDATA[<p>I have an additional parameter that I want to attach to the others being submitted by the jqgrid&#39;s EDIT form.</p>
</p>
<p>I saw something about an editData property &#38; tried it a few ways but couldn&#39;t get it to work...</p>
</p>
<p>then I read about the Post Data module and the setPostDataItem( Key, Val) function...</p>
</p>
<p>I have a constant value, the user&#39;s ID, that I want to send to the server along with the items submitted from the Edit Form...&#160;</p>
<p>Which of these (editData prop. or&#160; via setPostDataItem method) &#160;is the best way?&#160; are there other ways?</p>
<p>thanks!</p>
]]></description>
        	        	<pubDate>Wed, 20 Jan 2010 07:52:05 +0200</pubDate>
        </item>
</channel>
</rss>