<?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: delete with 'id' no matter which is the key on the Grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid</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/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>gadelkareem on delete with 'id' no matter which is the key on the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31192</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31192</guid>
        	        	<description><![CDATA[<p>Yes, that is what I ended up doing.</p>
]]></description>
        	        	<pubDate>Fri, 03 Oct 2014 13:54:03 +0300</pubDate>
        </item>
        <item>
        	<title>tony on delete with 'id' no matter which is the key on the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31183</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31183</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>If search or sorting is server side you can styl change a little bit your code so that the accepted parameter id is converted to something.id</p>
<p>Â </p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Fri, 03 Oct 2014 12:53:57 +0300</pubDate>
        </item>
        <item>
        	<title>gadelkareem on delete with 'id' no matter which is the key on the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31153</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31153</guid>
        	        	<description><![CDATA[<p>Thanks for your reply</p>
<p>I tried your example but 'jsonmap' did not effect on search or sorting</p>
]]></description>
        	        	<pubDate>Mon, 22 Sep 2014 18:22:50 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on delete with 'id' no matter which is the key on the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31150</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31150</guid>
        	        	<description><![CDATA[<p>It's not a bug. jqGrid send always rowid parameter asÂ <strong>id</strong> parameter. See <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#what_is_posted_to_the_server2" target="_blank">the documentation</a>. On the other side jqGrid provide youÂ <strong>prmNames</strong> option which almost you to rename almost all parameter which will be sent by jqGrid to the server. By usageÂ <strong>prmNames: { id: "myId" }</strong> will rename the id name used during editing (delete too) to <strong>myId</strong>.</p>
<p>One other thing, in small code fragment which you posted, looks not good: you use <strong>name</strong> having special meta-charackter "." (see <a href="http://api.jquery.com/category/selectors/" target="_blank">here</a>). It's not good. I would recommend you better to use <strong>name</strong> value which have no dots, spaces and other. Instead of that you can use typically <strong>jsonmap</strong> to read input JSON data, but you can still use <strong>name</strong> with more better value. Exact implementation could depends on other parameters which you use in jqGrid and from the exact format of input data. Just try to use</p>
<div class="sfcode">
<pre class="brush-javascript syntax">colModel: [
    { label: "ID", Â  name: "id", Â  jsonmap: "groups.id", key: true },
    { label: "Name", name: "name", jsonmap: "groups.name" }
]</pre></div><p>Best regards<br />
 Oleg</p>
]]></description>
        	        	<pubDate>Sun, 21 Sep 2014 13:08:48 +0300</pubDate>
        </item>
        <item>
        	<title>gadelkareem on delete with 'id' no matter which is the key on the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31148</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delete-with-id-no-matter-which-is-the-key-on-the-grid#p31148</guid>
        	        	<description><![CDATA[<p>Example:</p>
<p>Â </p>
<blockquote>
<pre>colModel: [{ label: 'ID', name: 'groups.id', key: true }, { label: 'Name', name: 'groups.name', }]
</pre>
</blockquote>
<p>On delete the post data uses 'id' parameter instead of 'groups.id' even though edit/sort/search uses 'groups.id'</p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2014 23:17:23 +0300</pubDate>
        </item>
</channel>
</rss>