jQuery tablesorter + resizing column widths

百般思念 提交于 2019-12-20 10:41:04

问题


Is there a jQuery plugin for resizing table columns that works with tablesorter?


回答1:


It looks like Flexigrid has everything you may want.




回答2:


You should try the colResizable plugin. It allows to resize columns manually, and it is tiny in size (2.8 KB) and does not require any other libraries or stylesheets.




回答3:


A very easy plugin for adding resizable columns is SimpleResizableTable.js.




回答4:


It looks like jquery.kiketable.colsizable would work for what you need.

Another one that looks good is Ingrid, the jQuery Datagrid. It has more features and will sort your columns without the use of tablesorter.




回答5:


If you don't find a plugin for tablesorter, the jQuery Grid Plugin (still in alpha) does resize columns.




回答6:


It is possible to use the jQuery UI Resizable plugin to resize columns. The plugin can not directly resize TH elements, but even better COLGROUP > COL elements which makes the browser rendering very fast and enables proper HTML.

Some more evaluation, a live demo and complete code can be found in the blog post Resizable Table Columns with jQuery UI.



来源:https://stackoverflow.com/questions/671791/jquery-tablesorter-resizing-column-widths

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!