jQuery表头排序 [英] jQuery table header sort

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

问题描述

有人知道一个插件或一个内置函数来使表中的列可排序吗?即我点击列标题,然后按该列对行进行排序?

Anybody know of a plugin, or a built in function to make the columns in a table sortable? i.e. I click on the column header and it sorts the rows by that column?

推荐答案

http://tablesorter. com/docs/使用起来非常简单,并提供了多种选项来满足您的需求. :)

http://tablesorter.com/docs/ is very simple to use with a wide range of options to suit your needs. :)

这篇关于jQuery表头排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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