<?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: hidden fields not posted</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-fields-not-posted</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/hidden-fields-not-posted/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on hidden fields not posted</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-fields-not-posted#p10135</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/hidden-fields-not-posted#p10135</guid>
        	        	<description><![CDATA[<p>colMode:[</p>
<p>{name: &#39;Id&#39;, index:&#39;id&#39;, width:50, hidden:true, xmlmap: &#8220;Id&#8221;},</p>
<p>{name: &#39;Record Number&#39;, index:&#39;RecordNum&#39;, width:50, hidden:true, editable: false, xmlmap: &#8220;RecordNum&#8221;},</p>
<p>{name: &#39;Project&#39;, index:&#39;&#39;Project&#39;&#39;, width:50, editable: true, xmlmap: &#8220;&#39;Project&#39;&#8221;},</p>
</p>
<p>...</p>
<p>remove the editable false from hidden coulmns and the values will be posted</p>
]]></description>
        	        	<pubDate>Fri, 25 Sep 2009 05:08:54 +0300</pubDate>
        </item>
        <item>
        	<title>JQGRID_Fan on hidden fields not posted</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-fields-not-posted#p10054</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/hidden-fields-not-posted#p10054</guid>
        	        	<description><![CDATA[<p>Hey Tony I&#39;ve searched the forums and I can&#39;t seem to find an answer.</p>
</p>
<p>When I add or edit records hidden cols don&#39;t seem to get posted to the server.&#160; Is there a way to turn that on or off?</p>
<p>so for example:</p>
<p>colMode:[</p>
<p>{name: &#39;Id&#39;, index:&#39;id&#39;, width:50, hidden:true, editable: false, xmlmap: "Id"},</p>
<p>{name: &#39;Record Number&#39;, index:&#39;RecordNum&#39;, width:50, hidden:true, editable: false, xmlmap: "RecordNum"},</p>
<p>{name: &#39;Project&#39;, index:&#39;&#39;Project&#39;&#39;, width:50, editable: true, xmlmap: "&#39;Project&#39;"},</p>
<p>etc..</p>
</p>
<p>But on the server I only get params:</p>
<p>ID=someId</p>
<p>Project=someProject</p>
</p>
<p>It&#39;s possible I don&#39;t need to be able to do this, but rather need to figure out someway to tie what shows up in the grid back to real data records in the database.&#160;&#160;This is specifically to avoid creating new results every time the a edit is posted to the server.&#160; Otherwise in the database the same record will be added over and over instead of being edited (or replaced).&#160; If a row has or doesn&#39;t have a recordNum (say primary key) then I could tell that it already exists and could look up the values in the database.</p></p>
]]></description>
        	        	<pubDate>Wed, 23 Sep 2009 15:46:05 +0300</pubDate>
        </item>
</channel>
</rss>