---
title: "jQuery 表格工具集"
author: "Pweb"
date: "2010-04-15T21:54:48Z"
tags: []
categories: ["Web前端"]
slug: "jquery"
draft: false
lastmod: "2010-04-15T21:54:48Z"
id: 644994
url: "https://pwb.iteye.com/blog/644994"
---

新闻来源:noupe.com  
本文搜集了大量 jQuery 表格插件，帮助 Web 设计者更好地驾御 HTML 表格，你可以对表格进行横向和竖向排序，设置固定表头，对表格进行搜索，对大表格进行分页，对表格进行滚动，拖放操作等等。这些插件很多都包含详细的教程。

jQuery 表格插件  
[Flexigrid – Web 2.0 Javscript Grid for jQuery](http://flexigrid.info/) - 可变列宽，自动适应表头宽度，可通过 Ajax 连接 XML 数据源，类似 Ext Grid，但基于 jQuery 因此更轻量小巧。

[![](http://media.smashingmagazine.com/cdn_noupe/wp-content/uploads/2010/04/jquerytables_01.jpg)](http://flexigrid.info/)

[Chromatable JQuery Plugin](http://www.chromaloop.com/posts/chromatable-jquery-plugin) - 固定表头，可滚动内容区，内容区滚动的时候表头位置保持不变。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_02.jpg)](http://www.chromaloop.com/posts/chromatable-jquery-plugin)

[Ingrid, the jQuery Datagrid](http://www.reconstrukt.com/ingrid/) - 在 HTML 表格上加入列宽调整，分页，排序，行列式样等功能（[演示](http://www.reconstrukt.com/ingrid/src/example1.html)）。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_03.jpg)](http://www.reconstrukt.com/ingrid/)

[JQTreeTable](http://www.hanpau.com/index.php?page=jqtreetable) - 在表格中加入树形结构

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_04.jpg)](http://www.hanpau.com/index.php?page=jqtreetable)

[Scrollable HTML table](http://www.webtoolkit.info/scrollable-html-table.html) - 将普通 HTML 表格变为可滚动状态。将表头部分放入 THEAD 区，内容部分放入 TBODY 区，脚注部分放入 TFOOT 区域，引用 webtoolkit.scrollabletable.js 文件，然后在每个表格后面创建 ScrollableTable() 对象即可（[演示](http://www.webtoolkit.info/demo/scrollable-html-table)）。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_05.jpg)](http://www.webtoolkit.info/scrollable-html-table.html)

[KeyTable](http://www.sprymedia.co.uk/article/KeyTable) - 象 Excel 那样，在单元格之间巡游，可以现场编辑。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_06.jpg)](http://www.sprymedia.co.uk/article/KeyTable)

[graphTable](http://blog.rebeccamurphey.com/2007/12/17/graph-table-data-jquery-flot/) - 借助 [flot](http://code.google.com/p/flot/) 将 HTML 表格中的内容变成图形（[演示](http://www.rebeccamurphey.com/jquery/graphTable/table.html)）。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_07.jpg)](http://blog.rebeccamurphey.com/2007/12/17/graph-table-data-jquery-flot/)

[DataTables](http://www.datatables.net/) - 非常强大的 jQuery 表格插件，可变宽页码浏览，现场过滤。多列排序，自动探测数据类型，智能列宽，可从几乎任何数据源获取数据。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_08.jpg)](http://www.datatables.net/)

[jqGrid Plugin](http://www.trirand.com/blog/) - 基于 Ajax 的 jQuery 表格插件，可以 Ajax 方式从服务器端获取数据填充进来（[演示](http://trirand.com/blog/jqgrid/jqgrid.html)）。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_09.jpg)](http://www.trirand.com/blog/)

[Visualize: Accessible Charts & Graphs from Table Elements](http://www.filamentgroup.com/lab/jquery_visualize_plugin_accessible_charts_graphs_from_tables_html5_canvas/) - 从 HTML 表格收集数据，并借助 HTML5 Canvas 对象转换为图表。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_10.jpg)](http://www.filamentgroup.com/lab/jquery_visualize_plugin_accessible_charts_graphs_from_tables_html5_canvas/)

[Grider](http://boriscy.github.com/grider/) - 一个简单的 jQuery 插件，可以对 HTML 表格进行计算，平均，累加，最大值，最小值等。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_11.jpg)](http://boriscy.github.com/grider/)  
表格功能增强  
[Table Drag and Drop](http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/) - 通过拖放，对表格中的数据重新排列，可以设置禁止拖放的行。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_12.jpg)](http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/)

[Table Pagination](http://plugins.jquery.com/project/tablePagination) - 在表格下方自动生成分页导航。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_13.jpg)](http://plugins.jquery.com/project/tablePagination)

[tableRowCheckboxToggle](http://pure-essence.net/2008/02/26/jquery-plugin-tablerowcheckboxtoggle/) - 可根据 class name 对表格的行自动 check on/off

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_14.jpg)](http://pure-essence.net/2008/02/26/jquery-plugin-tablerowcheckboxtoggle/)

[BS Table Crosshair Plugin](http://plugins.jquery.com/project/bstablecrosshair) - 鼠标在表格上移动时，所经过的单元格自动交叉加亮

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_15.jpg)](http://plugins.jquery.com/project/bstablecrosshair)

[jqtable2csv](http://code.google.com/p/jqtable2csv/) - 将 HTML 表格转换为 SVG 字符串。

[Colorize](http://franca.exofire.net/jq/colorize) - 自动对表格间隔行使用不同背景颜色

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_16.jpg)](http://franca.exofire.net/jq/colorize)

[jExpand](http://www.jankoatwarpspeed.com/post/2009/07/20/Expand-table-rows-with-jQuery-jExpand-plugin.aspx) - 一个非常轻量的 jQuery 插件，可以展开/关闭表格单元格，使表格可以容纳更多内容。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_17.jpg)](http://www.jankoatwarpspeed.com/post/2009/07/20/Expand-table-rows-with-jQuery-jExpand-plugin.aspx)

[columnHover](http://p.sohei.org/jquery-plugins/columnhover/) - 鼠标经过时，可以整列加亮，甚至支持 colspans 和 rowspans

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_18.jpg)](http://p.sohei.org/jquery-plugins/columnhover/)

[HeatColor](http://www.jnathanson.com/blog/client/jquery/heatcolor/index.cfm) - 根据规则，或自动对表格中的值进行分析，对不同范围的值按不同颜色区分。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_19.jpg)](http://www.jnathanson.com/blog/client/jquery/heatcolor/index.cfm)

[Fixed Header Table](http://fixedheadertable.mmalek.com/) - 固定表头可滚动表格

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_20.jpg)](http://fixedheadertable.mmalek.com/)  
表格搜索，筛选  
[tableFilter](http://ideamill.synaptrixgroup.com/?page_id=16) - 给表格添加简单的筛选功能。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_21.jpg)](http://ideamill.synaptrixgroup.com/?page_id=16)

[uiTableFilter](http://gregweber.info/projects/uitablefilter) - 根据条件筛选（隐藏）表格行

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_22.jpg)](http://gregweber.info/projects/uitablefilter)

[Tablesorter 2.0](http://tablesorter.com/docs/) - 将普通的，拥有 THEAD 和 TBODY 标签的表格转换为可排序表格，可以分析多种数据，支持多列排序。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_23.jpg)](http://tablesorter.com/docs/)

[PicNet Table Filter](http://www.picnet.com.au/picnet_table_filter.html) - 实时的，Google 式筛选功能

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_24.jpg)](http://www.picnet.com.au/picnet_table_filter.html)

[jQuery tinysort](http://tinysort.sjeiti.com/) - 排序

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_25.jpg)](http://tinysort.sjeiti.com/)

[LiveFilter 1.1](http://www.digitalinferno.net/blog/jquery-plugin-livefilter-1-1/) - 非常轻量的表格筛选插件，部署非常简单。

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_26.jpg)](http://www.digitalinferno.net/blog/jquery-plugin-livefilter-1-1/)

[jQtablesearch](http://code.google.com/p/jqtablesearch/) - 快速搜索，非常快

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_27.jpg)](http://code.google.com/p/jqtablesearch/)

[Quicksearch](http://github.com/riklomas/quicksearch) - 简单的搜索功能  
jQuery 现场编辑  
[TableEditor – Flexible in place editing of TableSorter](http://dev.iceburg.net/jquery/tableEditor/demo.php) - 现场编辑表格内容，用户可以插入 Ajax 机制回存数据

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_28.jpg)](http://dev.iceburg.net/jquery/tableEditor/demo.php)

[jGridEditor](http://sites.google.com/a/zoqui.com/www/jgrideditor) - 现场编辑，可配置 Ajax 回存数据

[![](http://218.16.124.218/i-host/jquery-table/jquerytables_29.jpg)](http://sites.google.com/a/zoqui.com/www/jgrideditor)

本材料原始来源：Nope [jQuery HTML Table Toolbox](http://www.noupe.com/javascript/jquery-html-table-toolbox.html) (原文作者:*Paul Andrew*)

中文编译来源：[**锐商企业CMS** 网站内容管理系统](http://www.comsharp.com/) 官方网站