<?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: Pass Composite Key from jqGrid to server file</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file</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/pass-composite-key-from-jqgrid-to-server-file/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mexposito on Pass Composite Key from jqGrid to server file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1991</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1991</guid>
        	        	<description><![CDATA[<p>Ok, I solved it. I was using the getRow method before the editRow method, and then passing the extraparams with all the row fields (including the old value of the field I was editing). I&#39;ve manipulated the array so that only pass the extraparams I need, not everyone. Now the plugin works perfectly...</p>
<p>Thanks a lot and sorry for the inconvenience. Congratulations, it&#39;s the one of the best (if not the best) grid plugin I&#39;ve seen.</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 17:56:52 +0300</pubDate>
        </item>
        <item>
        	<title>mexposito on Pass Composite Key from jqGrid to server file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1990</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1990</guid>
        	        	<description><![CDATA[<p>Ok, it&#39;s done :)) Thanks a lot, the truth is that I was looking at the examples and forgot about the docs themselves... after reading and a little bit of testing it&#39;s working now.The only thing I can&#39;t solve is that when I change a cell value and press enter, the value sent to the action servlet is the old one, not the one I&#39;ve just entered. Perhaps I&#39;ve not understood the doc in a correct manner...I&#39;ve checked that, if I introduce a second new value in the cell, the first new value is sent to de servlet and then the field is updated to that value (the second). Could you help me with this?</p>
<p>Thank you very much!</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 17:20:12 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Pass Composite Key from jqGrid to server file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1971</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1971</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Please refer to docs. You can use extraparams for this purpose.</p>
<p>Before editing the rows you can get the hidden fields</p>
<p>with getRowData method.</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 10:33:38 +0300</pubDate>
        </item>
        <item>
        	<title>mexposito on Pass Composite Key from jqGrid to server file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1970</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1970</guid>
        	        	<description><![CDATA[<p>I&#39;m using inline editing. I don&#39;t have any code implemented yet, because first I need to know if this is possible. Let&#39;s suppose I have the example code</p>
<p>colModel:[    		{name:&#39;id&#39;,index:&#39;id&#39;, width:55},{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, editable:true},    		{name:&#39;name&#39;,index:&#39;name&#39;, width:100,editable:true},    		{name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right",editable:true},    		{name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right",editable:true},		    		{name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right",editable:true},		    		{name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false,editable:true}		    	],</p>
<p>In this example, the field &#39;name&#39; is editable, so it will be passed to the server (a struts action in my particular case) through the request.</p>
<p>If the field "id" is the PK of my table, how can I pass it to the server script without making it editable?</p>
<p>Now, let&#39;s suppose the PK of my table is formed by two attributes, let&#39;s say &#39;name&#39; and &#39;tax&#39;. How can I pass these two without making them editable? Even more, how can I pass them without showing them to the user in the table? (as they conform the primary key of the table, I don&#39;t want the user neither modify them nor even view them).</p>
<p>I hope this helps to clarify my question... thanks in advance</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 10:26:52 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Pass Composite Key from jqGrid to server file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1963</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1963</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What you mean with this?</p>
<p>Do you use inline edit or formedit?</p>
<p>Please be a more detailed in question.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 10:07:45 +0300</pubDate>
        </item>
        <item>
        	<title>mexposito on Pass Composite Key from jqGrid to server file</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1954</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-composite-key-from-jqgrid-to-server-file#p1954</guid>
        	        	<description><![CDATA[<p>Hi all!</p>
<p>Is it possible to pass several attributes (i.e., 5) to jqgrid as a primary key to identify a row? I&#39;m using java (struts+ibatis+jsp) technologies and need more than one field as row key to update the database.</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 03:10:12 +0300</pubDate>
        </item>
</channel>
</rss>