<?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 to send non-editable values to the server side in jqgrid?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid</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-to-send-non-editable-values-to-the-server-side-in-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>trendready on how to send non-editable values to the server side in jqgrid?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid#p28925</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid#p28925</guid>
        	        	<description><![CDATA[<p>set editrules:{edithiddend:true} to hide it from the edit form but you can still access it using posdata[column_name]l&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; </p>
]]></description>
        	        	<pubDate>Fri, 31 May 2013 00:42:27 +0300</pubDate>
        </item>
        <item>
        	<title>jstuardo on how to send non-editable values to the server side in jqgrid?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid#p28922</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid#p28922</guid>
        	        	<description><![CDATA[<p>I have solved it by retrieving the data again from database and setting the editable data. If there is a better solution, please advice.</p>
</p>
<p>Jaime</p>
]]></description>
        	        	<pubDate>Thu, 30 May 2013 19:12:59 +0300</pubDate>
        </item>
        <item>
        	<title>jstuardo on how to send non-editable values to the server side in jqgrid?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid#p28902</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-send-non-editable-values-to-the-server-side-in-jqgrid#p28902</guid>
        	        	<description><![CDATA[<p>Hello.. I am new to this forum. I have downloaded jqgrid to retrieve some data from a SQL Server&#160; table and I have some troubles:</p>
<p>I have a simple grid that has 4 columns coming from the database: ID,  Name, CreationDate, ModificationDate. All of those fields are shown, but  only Name is editable. The ID and the dates are shown as plain text.</p>
<p>The problem I have is when a record is modified. Only Name field is  passed to the server side. The CreationDate is sent as the default value  as 01/01/0001 and not the value that currently has.</p>
<p>This is my script:</p>
<pre class="default prettyprint prettyprinted"><br /><p><input type='button' class='sfcodeselect' name='sfselectit1519' value='Select Code' data-codeid='sfcode1519' /></p><div class='sfcode' id='sfcode1519'>&#60;script type=&#34;text/javascript&#34;&#62;<br />$(function () {<br />&#160;&#160;&#160; $(&#34;#departamentos&#34;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#34;@Url.Action(&#34;List&#34;)&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#34;json&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#34;GET&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#34;@Html.DisplayNameFor(model =&#62; model.dep_id)&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;@Html.DisplayNameFor(model =&#62; model.dep_nombre)&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;@Html.DisplayNameFor(model =&#62; model.dep_creado_el)&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34;@Html.DisplayNameFor(model =&#62; model.dep_modificado_el)&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#34; &#34;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#34;dep_id&#34;, index: &#34;dep_id&#34;, key : true, sortable:false, editable:false, editoptions:{readonly:true,size:10}, width: 90 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#34;dep_nombre&#34;, index: &#34;dep_nombre&#34;, editable:true, width: 250 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#34;dep_creado_el&#34;, index: &#34;dep_creado_el&#34;, width: 100, align: &#34;center&#34;, formatter: &#34;date&#34; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#34;dep_modificado_el&#34;, index: &#34;dep_modificado_el&#34;, width: 100, align: &#34;center&#34;, formatter: &#34;date&#34; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;acciones&#39;, width: 58, fixed: true, sortable: false, resize: false, formatter: &#39;actions&#39;, formatoptions: { keys: true } }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: false<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#34;#pager&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 20, 30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#34;dep_nombre&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#34;asc&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridview: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; autoencode: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#34;Departamentos&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: &#34;@Url.Action(&#34;AjaxEdit&#34;)&#34;,<br />&#160;&#160;&#160; });<br /><br />$(&#34;#departamentos&#34;).jqGrid(&#39;navGrid&#39;, &#39;#pager&#39;, { edit: true, add: true, del: true });<br /><br />&#160;&#160;&#160; $.jgrid.edit.addCaption = &#34;Agregar Departamento&#34;;<br />&#160;&#160;&#160; $.jgrid.edit.editCaption = &#34;Modificar Departamento&#34;;<br />&#160;&#160;&#160; $.jgrid.edit.saveData = &#34;&#161;El departamento fue modificado! &#191;Almacena los cambios?&#34;;<br /><br />&#160;&#160;&#160; $.jgrid.formatter.date.newformat = &#39;d-m-Y H:i&#39;;<br /><br />}); <br />&#60;/script&#62;<br /><br /></div><br />Other problem is that, even when where is 11 records returned and only the first 10 are displayed, grid says that there is only 1 page.<br /><br /><p><input type='button' class='sfcodeselect' name='sfselectit6701' value='Select Code' data-codeid='sfcode6701' /></p><div class='sfcode' id='sfcode6701'></div></pre>
<pre class="default prettyprint prettyprinted"><p><input type='button' class='sfcodeselect' name='sfselectit9481' value='Select Code' data-codeid='sfcode9481' /></p><div class='sfcode' id='sfcode9481'></div>Any help will be greatly appreciated <br /><br />Thanks <br />Jaime<br /></pre></p>
]]></description>
        	        	<pubDate>Tue, 28 May 2013 22:43:30 +0300</pubDate>
        </item>
</channel>
</rss>