<?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 column values not posting</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting</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-column-values-not-posting/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kudoof on Hidden column values not posting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting#p26100</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting#p26100</guid>
        	        	<description><![CDATA[<p>Edit: never mind.&#160; The hidden column did not show in the pop up window now. I guess I did not reload</p>
<p>found out the same thing. On top of this, I also want to prevent the hidden column/cell showing up in the pop-up edit window (It is supposed to be &#39;hidden&#39; everywhere !). Is there an option for that? I searched the &#39;editrules&#39; section but the only thing there is to re-enable edithidden but not hideeditable. Maybe make hidden customized element?</p>
]]></description>
        	        	<pubDate>Thu, 08 Mar 2012 23:52:37 +0200</pubDate>
        </item>
        <item>
        	<title>cjordan on Hidden column values not posting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting#p24363</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting#p24363</guid>
        	        	<description><![CDATA[<p>So, it turns out that the hidden column values will not post unless you have "editable" set to true in the colModel</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2687' value='Select Code' data-codeid='sfcode2687' /></p>
<div class='sfcode' id='sfcode2687'>colModel: [<br />&#160;{name:&#39;JOBCODE&#39;,index:&#39;JOBCODE&#39;,width:85,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;JOBDESC&#39;,index:&#39;JOBDESC&#39;,width:175,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;PRFEEID&#39;,index:&#39;PRFEEID&#39;,hidden:true,<span style=&#34;text-decoration: underline;&#34;><strong>editable:true</strong></span>},<br />&#160;{name:&#39;PRFEE&#39;,index:&#39;PRFEE&#39;,width:70,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;GROSSID&#39;,index:&#39;GROSSID&#39;,hidden:true,<span style=&#34;text-decoration: underline;&#34;><strong>editable:true</strong></span>},<br />&#160;{name:&#39;GROSS&#39;,index:&#39;GROSS&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;BONUSID&#39;,index:&#39;BONUSID&#39;,hidden:true,<span style=&#34;text-decoration: underline;&#34;><strong>editable:true</strong></span>},<br />&#160;...(snip)</div>
<p>My initial fear with this attribute was that it would cause the hidden column values to show when I went to edit the row in-line. This however, isn&#39;t the case.</p>
<p>I really wish this was better documented. Really, that&#39;s my only complaint about the plug-in in general.</p>
]]></description>
        	        	<pubDate>Mon, 22 Aug 2011 17:38:36 +0300</pubDate>
        </item>
        <item>
        	<title>cjordan on Hidden column values not posting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting#p24355</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/hidden-column-values-not-posting#p24355</guid>
        	        	<description><![CDATA[<p>I&#39;ve searched around the net for a while on this subject, and found a thread or two here and there that were close to the same as the problem I&#39;m having, but not quite.</p>
<p>My scenario is that my jqGrid does not look like the table that stores the data. The table is normalized, but my grid is showing an aggregate of the data. So each row in my jqGrid represents up to 13 rows of data in the normalized table.</p>
<p>So, when I&#39;m editing a "row" in the grid on the client side, I&#39;m really potentially editing 13 rows of data in the table itself. My problem is that I need IDs for each of those table rows. So, after toying around with some other ideas, I finally decided on pulling down the IDs as part of my grid row data, and then I would just hide the ID columns from the user. This would appear to be a fine solution except that the hidden rows are not posting when I edit a grid row in-line.</p>
<p>For example, my jqGrid might contain:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2156' value='Select Code' data-codeid='sfcode2156' /></p>
<div class='sfcode' id='sfcode2156'><span style=&#34;text-decoration: underline;&#34;>column1 column2ID(hidden) column2 column3ID(hidden) column3</span><br />someVal&#160;&#160; 1234&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value1&#160;&#160;&#160; 5678&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value2</div>
<p>and the table in the DB for this data would be:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2185' value='Select Code' data-codeid='sfcode2185' /></p>
<div class='sfcode' id='sfcode2185'><span style=&#34;text-decoration: underline;&#34;>ID&#160;&#160;&#160;&#160; Label&#160;&#160;&#160; Value</span><br />1234&#160; someVal&#160;&#160; value1<br />5678&#160; someVal&#160;&#160; value2</div>
<p>I know this seems contrived (because it is), but there&#39;s more data on each row that actually makes this make sense, I&#39;m just hoping this gets my point across.</p>
<p>So, I cannot have these hidden values show to the user, and they cannot be editable because they&#39;re IDs and I need to maintain their integrity, but I need them to post after editing a grid row in-line&#8230; currently, they are not.</p>
<p>Here&#39;s my colModel definition, in case that helps anyone:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6844' value='Select Code' data-codeid='sfcode6844' /></p>
<div class='sfcode' id='sfcode6844'>colModel: [<br />&#160;{name:&#39;JOBCODE&#39;,index:&#39;JOBCODE&#39;,width:85,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;JOBDESC&#39;,index:&#39;JOBDESC&#39;,width:175,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;PRFEEID&#39;,index:&#39;PRFEEID&#39;,hidden:true},<br />&#160;{name:&#39;PRFEE&#39;,index:&#39;PRFEE&#39;,width:70,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;GROSSID&#39;,index:&#39;GROSSID&#39;,hidden:true},<br />&#160;{name:&#39;GROSS&#39;,index:&#39;GROSS&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;BONUSID&#39;,index:&#39;BONUSID&#39;,hidden:true},<br />&#160;{name:&#39;BONUS&#39;,index:&#39;BONUS&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;FICAID&#39;,index:&#39;FICAID&#39;,hidden:true},<br />&#160;{name:&#39;FICA&#39;,index:&#39;FICA&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;FUTAID&#39;,index:&#39;FUTAID&#39;,hidden:true},<br />&#160;{name:&#39;FUTA&#39;,index:&#39;FUTA&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;SUTAID&#39;,index:&#39;SUTAID&#39;,hidden:true},<br />&#160;{name:&#39;SUTA&#39;,index:&#39;SUTA&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;OTHERID&#39;,index:&#39;OTHERID&#39;,hidden:true},<br />&#160;{name:&#39;OTHER&#39;,index:&#39;OTHER&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;WCID&#39;,index:&#39;WCID&#39;,hidden:true},<br />&#160;{name:&#39;WC&#39;,index:&#39;WC&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;MEDID&#39;,index:&#39;MEDID&#39;,hidden:true},<br />&#160;{name:&#39;MED&#39;,index:&#39;MED&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;RENTID&#39;,index:&#39;RENTID&#39;,hidden:true},<br />&#160;{name:&#39;RENT&#39;,index:&#39;RENT&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;TAXID&#39;,index:&#39;TAXID&#39;,hidden:true},<br />&#160;{name:&#39;TAX&#39;,index:&#39;TAX&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;BENEFITSID&#39;,index:&#39;BENEFITSID&#39;,hidden:true},<br />&#160;{name:&#39;BENEFITS&#39;,index:&#39;BENEFITS&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true},<br />&#160;{name:&#39;_401KID&#39;,index:&#39;_401KID&#39;,hidden:true},<br />&#160;{name:&#39;_401K&#39;,index:&#39;_401K&#39;,width:57,align:&#39;center&#39;,classes:&#39;ap&#39;,sortable:false,editable:true}<br />],</div>
]]></description>
        	        	<pubDate>Sat, 20 Aug 2011 00:59:11 +0300</pubDate>
        </item>
</channel>
</rss>