使用 jQuery 调整表格列的大小 [英] Resizable table columns with jQuery
本文介绍了使用 jQuery 调整表格列的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
This is the only jQuery plugin I could find to resize table column widths, but it does not integrate well with my table, and has unnecessary bloat (saves in cookies). Are there any other plugins for just resizing columns? (NOT datagrid plugins, please don't suggest those).
如果没有,我会自己写,应该不会太难,我只是不知道如何检测用户何时单击 td 边框(调整大小).有什么想法吗?
If not, I'll write my own, it shouldn't be too hard, I just don't know how to detect when a user clicks on the td border (to resize). Any ideas?
推荐答案
所以我开始编写我自己的,目前只是基本功能,下周将着手... http://jsfiddle.net/ydTCZ/
So I started writing my own, just bare bones functionality for now, will be working on it next week... http://jsfiddle.net/ydTCZ/
这篇关于使用 jQuery 调整表格列的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文