<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Table Drag and Drop JQuery plugin</title>
	<atom:link href="http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/</link>
	<description>Thoughts and tutorials on web design, Java, Javascript and project management</description>
	<lastBuildDate>Thu, 11 Mar 2010 14:03:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 17 jQuery Plugins for Easy and Efficient Reordering and Filtering Page Elements : Web Lime &#8211; Design and IT blog</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-10/#comment-1029</link>
		<dc:creator>17 jQuery Plugins for Easy and Efficient Reordering and Filtering Page Elements : Web Lime &#8211; Design and IT blog</dc:creator>
		<pubDate>Thu, 11 Mar 2010 14:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1029</guid>
		<description>[...] Table Drag and Drop JQuery plugin [...]</description>
		<content:encoded><![CDATA[<p>[...] Table Drag and Drop JQuery plugin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bala</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-10/#comment-1028</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Tue, 09 Mar 2010 06:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1028</guid>
		<description>First off, thanks so much for the plugin. It is really useful and easy to use.

I have a problem when I have a table inside an iframe. When I drag a row and take it to the top, the page will not scroll (even after explicitly setting scrollAmount to a positive value). Scrolling works on the same table if it is not inside an iframe. Has anyone faced this problem? Has anyone figured out a solution for this?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>First off, thanks so much for the plugin. It is really useful and easy to use.</p>
<p>I have a problem when I have a table inside an iframe. When I drag a row and take it to the top, the page will not scroll (even after explicitly setting scrollAmount to a positive value). Scrolling works on the same table if it is not inside an iframe. Has anyone faced this problem? Has anyone figured out a solution for this?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay pate</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-10/#comment-1027</link>
		<dc:creator>Ajay pate</dc:creator>
		<pubDate>Tue, 09 Mar 2010 05:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1027</guid>
		<description>Hy I Have found bug in the table drag and drop plugin.
i fill the div&#039;s Inner Html with xajax function after words in xajax i called addScript() function to add dynamic script.table is sortable and dragable in any ie,mozilla and opera browser.
but this cant work in the safari 3+. &amp; i found the following error or alert message

&lt;b&gt;Type Error: Value undefined(result of expression o.find) is not object.&lt;/b&gt;

Please help me asap.
:-( :-( :-( :-( :-(</description>
		<content:encoded><![CDATA[<p>Hy I Have found bug in the table drag and drop plugin.<br />
i fill the div&#8217;s Inner Html with xajax function after words in xajax i called addScript() function to add dynamic script.table is sortable and dragable in any ie,mozilla and opera browser.<br />
but this cant work in the safari 3+. &amp; i found the following error or alert message</p>
<p><b>Type Error: Value undefined(result of expression o.find) is not object.</b></p>
<p>Please help me asap.<br />
 <img src='http://www.isocra.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  <img src='http://www.isocra.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  <img src='http://www.isocra.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  <img src='http://www.isocra.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  <img src='http://www.isocra.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 20 BEST JQUERY TABLE PLUGINS &#171; Focus Tips&#39;s Blog</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1026</link>
		<dc:creator>20 BEST JQUERY TABLE PLUGINS &#171; Focus Tips&#39;s Blog</dc:creator>
		<pubDate>Sun, 07 Mar 2010 02:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1026</guid>
		<description>[...] 7. Table row drag and drop  This TableDnD plugin allows the user to reorder rows within a table, for example if they represent an ordered list (tasks by priority for example). Individual rows can be marked as non-draggable and/or non-droppable (so other rows can’t be dropped onto them). Rows can have as many cells as necessary and the cells can contain form elements. [...]</description>
		<content:encoded><![CDATA[<p>[...] 7. Table row drag and drop  This TableDnD plugin allows the user to reorder rows within a table, for example if they represent an ordered list (tasks by priority for example). Individual rows can be marked as non-draggable and/or non-droppable (so other rows can’t be dropped onto them). Rows can have as many cells as necessary and the cells can contain form elements. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Landon</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1025</link>
		<dc:creator>Landon</dc:creator>
		<pubDate>Sat, 06 Mar 2010 10:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1025</guid>
		<description>I was able to get the multi-tbody functionality working with a little effort:

Modify code near line 270:
&lt;pre&gt;
if (currentRow) {
                // same tbody
				if (jQuery.tableDnD.dragObject.parentNode == currentRow.parentNode)
				{
					// make sure we&#039;ve moved
					if (jQuery.tableDnD.dragObject != currentRow)
					{
						if (movingDown)
							jQuery.tableDnD.dragObject.parentNode.insertBefore(jQuery.tableDnD.dragObject, currentRow.nextSibling);
						else if ( !movingDown)
							jQuery.tableDnD.dragObject.parentNode.insertBefore(jQuery.tableDnD.dragObject, currentRow);
					}
				}
				// different tbody
				else
				{
					var tmpObject = jQuery(jQuery.tableDnD.dragObject).detach();
					if (movingDown)
						tmpObject.insertBefore(jQuery(currentRow));
					else if ( !movingDown)
						tmpObject.insertAfter(jQuery(currentRow));

				}
            }
&lt;/pre&gt;
Note: requires jquery 1.4! (the detach() method makes the magic happen...)

Regards,
Landon</description>
		<content:encoded><![CDATA[<p>I was able to get the multi-tbody functionality working with a little effort:</p>
<p>Modify code near line 270:</p>
<pre>
if (currentRow) {
                // same tbody
				if (jQuery.tableDnD.dragObject.parentNode == currentRow.parentNode)
				{
					// make sure we've moved
					if (jQuery.tableDnD.dragObject != currentRow)
					{
						if (movingDown)
							jQuery.tableDnD.dragObject.parentNode.insertBefore(jQuery.tableDnD.dragObject, currentRow.nextSibling);
						else if ( !movingDown)
							jQuery.tableDnD.dragObject.parentNode.insertBefore(jQuery.tableDnD.dragObject, currentRow);
					}
				}
				// different tbody
				else
				{
					var tmpObject = jQuery(jQuery.tableDnD.dragObject).detach();
					if (movingDown)
						tmpObject.insertBefore(jQuery(currentRow));
					else if ( !movingDown)
						tmpObject.insertAfter(jQuery(currentRow));

				}
            }
</pre>
<p>Note: requires jquery 1.4! (the detach() method makes the magic happen&#8230;)</p>
<p>Regards,<br />
Landon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1021</link>
		<dc:creator>Per</dc:creator>
		<pubDate>Sun, 28 Feb 2010 12:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1021</guid>
		<description>Also, I can&#039;t get tableDnDUpdate() working ;/</description>
		<content:encoded><![CDATA[<p>Also, I can&#8217;t get tableDnDUpdate() working ;/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1020</link>
		<dc:creator>Per</dc:creator>
		<pubDate>Sun, 28 Feb 2010 00:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1020</guid>
		<description>I have a problem with this plugin when using dragHandle.
If you stay with the cursor with mousedown just between 2 td&#039;s the drag image will appear on both. :(
It&#039;s very annoying. :/
Anyone could help me fix it? I&#039;ve tried alot and I don&#039;t think this plugin will be updated anymore, right?
Thanks</description>
		<content:encoded><![CDATA[<p>I have a problem with this plugin when using dragHandle.<br />
If you stay with the cursor with mousedown just between 2 td&#8217;s the drag image will appear on both. <img src='http://www.isocra.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
It&#8217;s very annoying. :/<br />
Anyone could help me fix it? I&#8217;ve tried alot and I don&#8217;t think this plugin will be updated anymore, right?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Clinton</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1019</link>
		<dc:creator>Mike Clinton</dc:creator>
		<pubDate>Fri, 26 Feb 2010 16:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1019</guid>
		<description>Great script!  Do you have any plan to add drag/drop column instead of row?</description>
		<content:encoded><![CDATA[<p>Great script!  Do you have any plan to add drag/drop column instead of row?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gatis</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1018</link>
		<dc:creator>Gatis</dc:creator>
		<pubDate>Fri, 26 Feb 2010 15:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1018</guid>
		<description>It is possible now drag and drop under parent rows?

Thanks.</description>
		<content:encoded><![CDATA[<p>It is possible now drag and drop under parent rows?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jin Wang</title>
		<link>http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/comment-page-9/#comment-1017</link>
		<dc:creator>Jin Wang</dc:creator>
		<pubDate>Thu, 25 Feb 2010 11:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/#comment-1017</guid>
		<description>Hallo Nino Dafonte,

your codes of &quot;TableDnd in Scrolled Div&quot; have a bug, that the scroll can only be scrolled down. Scroll up is not working . The codes shuld be changed like so:
&lt;pre&gt;
	var container = config.containerDiv;
	var yOffset = container.scrollTop();
	var windowHeight = container.innerHeight();
	var y = mousePos.y - jQuery.tableDnD.mouseOffset.y;		

	var upperBorder = container.position().top  + container.innerHeight(); // not error, it should also be added because mouse moves up
	var bottomBorder = container.position().top + container.innerHeight();		

	if (mousePos.y &gt; bottomBorder) {
		container.scrollTop(container.scrollTop() + config.scrollAmount);
	}

	if (mousePos.y &lt; upperBorder) {
		container.scrollTop(container.scrollTop() - config.scrollAmount);
	}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hallo Nino Dafonte,</p>
<p>your codes of &#8220;TableDnd in Scrolled Div&#8221; have a bug, that the scroll can only be scrolled down. Scroll up is not working . The codes shuld be changed like so:</p>
<pre>
	var container = config.containerDiv;
	var yOffset = container.scrollTop();
	var windowHeight = container.innerHeight();
	var y = mousePos.y - jQuery.tableDnD.mouseOffset.y;		

	var upperBorder = container.position().top  + container.innerHeight(); // not error, it should also be added because mouse moves up
	var bottomBorder = container.position().top + container.innerHeight();		

	if (mousePos.y &gt; bottomBorder) {
		container.scrollTop(container.scrollTop() + config.scrollAmount);
	}

	if (mousePos.y &lt; upperBorder) {
		container.scrollTop(container.scrollTop() - config.scrollAmount);
	}
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
