问题描述
在这个小提琴中,我想进行jQuery或Javascript交互,这将允许我拖动第一个表格单元格(名称)并将其拉出. .draggable似乎仅适用于div.有解决方案还是我应该放弃尝试使用表制作UI的问题? http://jsfiddle.net/4XyzJ/33/
In this Fiddle I want to make a jQuery or Javascript interaction that will allow me to drag the first table cell (Name) and pull it out. .draggable seems to only work with divs. Is there a solution or should i give up on trying to make a UI using tables?http://jsfiddle.net/4XyzJ/33/
推荐答案
您可以尝试使用此插件 http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
You can try out with this plugin http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
使用表格单元格是您需要的 http://www.jeasyui. com/tutorial/dd/dnd3.php
and with table cells is this is what you need http://www.jeasyui.com/tutorial/dd/dnd3.php
这篇关于如何使用jQuery的.draggable拖动表格单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!