如何制作可拖动的表格内容 [英] how to make dragable table content

查看:110
本文介绍了如何制作可拖动的表格内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务器端使用js \ jquery动态制作表格。现在我想让它的网格数据内容可拖动将一个数据拖动到另一列并相应地我在服务器上更新我的数据

I am dynamically making a table using js\jquery while php on server side. Now I want to make its grid data content drag-able That drag one data into another column and accordingly i update my data on server

推荐答案

对于拖动,尝试使用jqueryui :

https://jqueryui.com/draggable/ [ ^ ]



如果要在服务器端与php通信,请尝试jQuery.ajax:

http://api.jquery.com/jquery.ajax/ [ ^ ]



希望指出正确的方向。
For drag, try using jqueryui:
https://jqueryui.com/draggable/[^]

For communication with php on server side, try jQuery.ajax:
http://api.jquery.com/jquery.ajax/[^]

Hope that points you in the correct direction.


这篇关于如何制作可拖动的表格内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆