使用jQuery调整表格列 [英] Resizable table columns with jQuery

查看:120
本文介绍了使用jQuery调整表格列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个是我可以找到的调整表格的唯一jQuery插件列的宽度,但它不能很好地与我的表集成,并且有不必要的膨胀(保存在cookie中)。有没有其他插件只是调整列的大小? (不包括datagrid插件,请不要提供这些插件)。



如果不是,我会自己写,不应该太难, t知道如何检测用户何时点击td边框(调整大小)。任何想法?所以我现在开始写我自己的,仅仅是骨头的功能,下周就会开始工作。 .. http://jsfiddle.net/ydTCZ/


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).

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?

解决方案

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屋!

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