Table row drag and drop 0.5
Size: 5.62 KB
md5_file hash: 2dfcad6f79e98fc0b769b350ef828536
First released: July 11, 2008 - 5:50pm
Last updated: July 11, 2008 - 5:50pm
Now supports having a column as a drag handle (specify a class for the dragHandle option when configuring).
Improved the serialize method to use a default (but also settable in the options) regular expression for generating the serialized string. The default is /[^\-]*$/ which will remove everything before a final hyphen, so item-s1 becomes s1.
Added $('...').tableDnDUpdate() to cause the table to update its rows so the drag and drop functionality works if, for example, you've added a row.
Added $('...').tableDnDSerialize() which allows you to serialize a table from any javascript code.
NB I've made some fixes to the released version to work with Prototype and Scriptaculous, so download it from http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ rather than here.
