<?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: row id changes on drag and drop</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/row-id-changes-on-drag-and-drop</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/row-id-changes-on-drag-and-drop/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>soy_amarillo on row id changes on drag and drop</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/row-id-changes-on-drag-and-drop#p19772</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/row-id-changes-on-drag-and-drop#p19772</guid>
        	        	<description><![CDATA[<p>Well, i solved the problem.</p>
<p>I&#39;ll post the solution here for anyone having the same problem. When you activate drag and drop on the grid, there are some options that manage the way the grid will give id&#39;s for rows. Theses options are <strong>autoid </strong>and <strong>autoidprefix</strong>. The solution is to turn off the autoid option by passing as argument the name of a function that will return the id of the row (autoid: myFunction). The problem is that the only parameters that you&#39;ll have on this function are the colums that you have on your grid. That is, you&#39;ll have to put the id of the row as a column of the grid too in order to keep the same id of the row on the second (or third...) grid.</p>
</p>
<p>I hope this could help somebody.</p>
]]></description>
        	        	<pubDate>Tue, 14 Sep 2010 09:43:30 +0300</pubDate>
        </item>
        <item>
        	<title>soy_amarillo on row id changes on drag and drop</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/row-id-changes-on-drag-and-drop#p19551</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/row-id-changes-on-drag-and-drop#p19551</guid>
        	        	<description><![CDATA[<p>Hello. A long time without posting on the forum. I have a problem using new functionality of drag and drop between grids. I have 2 grids on my page. Everything seems to works fine until i call getDataIDs method.</p>
<p>If I drag a row from the first grid to the second one, it moves like it should. But when i call getDataIDs method (on the target grid) i get the following result (showing with alert for debug): <strong>dnd_107,3104,3118</strong> . 3104 and 3118 where ids of rows that already were in the second grid at the start of the page. dnd_107 was the row that i drag from the first grid and drop into the second. The real id of that row was a number like the others. Do anybody knows why is this happening?</p>
</p>
<p>Thank you.</p>
]]></description>
        	        	<pubDate>Mon, 06 Sep 2010 19:32:46 +0300</pubDate>
        </item>
</channel>
</rss>