<?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: Drag and drop - update row</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row</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/discussion/drag-and-drop-update-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>finedesignz on Drag and drop - update row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13651</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13651</guid>
        	        	<description><![CDATA[<p>Very helpful... Thank you!</p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 20:26:04 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Drag and drop - update row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13643</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13643</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Here is some exmple. Also I have added some other things into the docs.</p>
<p>Actually you can use the beforedrop event.</p>
<p>Here is a little example from my project:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9838' value='Select Code' data-codeid='sfcode9838' /></p>
<div class='sfcode' id='sfcode9838'>
<p>&#160;&#160; $("#grid1").jqGrid(&#39;gridDnD&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; connectWith:"#grid2",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; autoid : function(data){ return data.newid; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; dropbyname:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforedrop : function(e,ui,data,source,target) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // data is the data to be inserted into the targed</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //&#160; do something&#160; here and return the new data. Also I use drop by name here<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return mynewdata;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; });</p>
</div>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 19:04:19 +0200</pubDate>
        </item>
        <item>
        	<title>finedesignz on Drag and drop - update row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13614</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13614</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I&#39;ve read the docs several times.&#160; They are thorough, but there is no example beyond connecting the grids. If you could give us an example of how to use the ondrop, that would be an excellent reference for others like myself.</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 18:18:08 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Drag and drop - update row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13582</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13582</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Read this docs. You can do this.</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#drag_and_drop_rows_between_grids" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ween_grids</a></p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 08:43:21 +0200</pubDate>
        </item>
        <item>
        	<title>finedesignz on Drag and drop - update row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13478</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/drag-and-drop-update-row#p13478</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have been able to get the new drag and drop to work visually, but I want to change a value when a row is dropped.</p>
<p>i.e. I have 3 grids, representing 3 groups of people.&#160; Each row has a name and group id, retrieved from a database.&#160; When I drag one row to another grid, I would like the group id to update with that grid id.</p>
<p>How can I accomplish this?&#160; Do I use the &#8220;ondrop&#8221; event?</p>
<p>Also, the values in the row sometimes go blank after dropping.</p>
</p>
<p>(Sorry - I just realized I posted this in the wrong forum.... moving now)</p>
]]></description>
        	        	<pubDate>Thu, 31 Dec 2009 00:20:19 +0200</pubDate>
        </item>
</channel>
</rss>