<?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: Modifying rowId on delete action</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/modifying-rowid-on-delete-action</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/modifying-rowid-on-delete-action/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>darkwarrior on Modifying rowId on delete action</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/modifying-rowid-on-delete-action#p30283</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/modifying-rowid-on-delete-action#p30283</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I usually use the beforeSubmit function to modify data before it gets sent to the server. This generally works for the add and edit submits as they use an object to hold the postdata. However, using beforeSubmit for the delete action does not work as it&#39;s a string for the Id as postdata (thus a value and not a reference).</p>
<p>What I am aiming to do is to exchange the local rowId for the string Id.</p>
<p>jQGrid does not support text Ids (for good reason). What I mean is if you have an Id that is &#39;Special Grouping&#39; the row gets id="Special Grouping" which is bad.</p>
<p>For the most part, the grid seems to work with that string as an Id anyway. What I can&#39;t work around is when subGrids come into place. This is a typical scenario as I have the distinct values in the top grid, with the detail in the subGrid. So when I delete in the top row, it will delete rows with that distinct value.</p>
<p>But I fear I may have gone a little too long, so bottom line: <strong>Can I change the postdata on row delete?</strong></p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Tue, 25 Feb 2014 02:35:37 +0200</pubDate>
        </item>
</channel>
</rss>