<?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 on Drop with insert in database</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database</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/drag-on-drop-with-insert-in-database/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dams on Drag on Drop with insert in database</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database#p16623</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database#p16623</guid>
        	        	<description><![CDATA[<p>Thanks , it&#39;s work <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" /></p>
]]></description>
        	        	<pubDate>Fri, 23 Apr 2010 15:22:37 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Drag on Drop with insert in database</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database#p15414</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database#p15414</guid>
        	        	<description><![CDATA[</p>
<p>Hello,</p>
<p>First check the docs for onstart and onstop events</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>
<p>maybe you will need to use theie</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7980' value='Select Code' data-codeid='sfcode7980' /></p>
<div class='sfcode' id='sfcode7980'>
<p>onstop: function(event, ui) {</p>
<p>// the id can be get this way</p>
<p>var id = $(ui.helper).attr("id");</p>
<p>...</p>
<p>}</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 13:58:53 +0200</pubDate>
        </item>
        <item>
        	<title>dams on Drag on Drop with insert in database</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database#p15353</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/drag-on-drop-with-insert-in-database#p15353</guid>
        	        	<description><![CDATA[<p>Hello, </p>
<p>I have a problem with my code is starting. ( and sorry for my english )</p>
<p><span style="text-decoration: underline;">Here is my code: <br /></span></p>
<p><input type='button' class='sfcodeselect' name='sfselectit4445' value='Select Code' data-codeid='sfcode4445' /></p>
<div class='sfcode' id='sfcode4445'>$(&#34;#s2list&#34;).jqGrid(&#39;gridDnD&#39;,{<br />&#160;&#160;connectWith:&#34;#s1list&#34;,<br />&#160;&#160;onstop : function(rowid){<br />&#160;&#160;<strong>var contents = $(&#34;#s2list&#34;).getRowData(rowid); //NOT WORK WITH DRAG ON DROP ?<br /></strong>&#160;&#160;//alert( <strong><span style=&#34;color: #00ff00;&#34;>contents.id_produit</span> </strong>); //<span style=&#34;color: #ff0000;&#34;> =&#62; Result : undefined !<br /></span>&#160;&#160;$.ajax({<br />&#160;&#160;&#160;type: &#34;POST&#34;,<br />&#160;&#160;&#160;url: &#34;data/devis_modify_add_produit.php&#34;,<br />&#160;&#160;&#160;data: &#39;NumProduit=&#39;+<span style=&#34;color: #00ff00;&#34;><strong>contents.id_produit</strong></span>+&#39;&#38;NumFact=&#60;?php echo $row_Factures[&#39;num&#39;];?&#62;&#39;,<br />&#160;&#160;&#160;success: function(msg){<br />&#160;&#160;&#160;$(&#34;#s1list&#34;).trigger(&#34;reloadGrid&#34;);<br />&#160;&#160;&#160;alert( &#34;Data Saved: &#34; + msg +contents.id_produit); //=&#62;<span style=&#34;color: #ff0000;&#34;> Result : undefined !<br /></span>&#160;&#160;&#160;}<br />&#160;&#160;});<br />&#160;}<br />});</div>
<p>I want to drag and drop two table but I can not get the value of column "id_produit" during this action </p>
<p>Can you help me?</p>
]]></description>
        	        	<pubDate>Thu, 04 Mar 2010 13:46:55 +0200</pubDate>
        </item>
</channel>
</rss>