plugin-icon

LH Sortable Tables

作者:shawfactor·
No more old static tables, make your HTML tables sortable.
评级
5
版本
1.01
活跃安装
80
最后更新
Jul 31, 2022
LH Sortable Tables

Table Sorter turns standard HTML table (with THEAD and TBODY tags) in your post, page, or CPT content into a sortable table without page refresh. It has many useful features including :

  1. Multi-column sorting.
  2. Disable sorting from particular column(s).
  3. Different sorting types.
  4. Cross-browser support

To make a table just add class=”sortable” to the table element in the html view.

NOTE Unlike other plugins this plugin will not unneccessarily slow down your site. The javascript to add the sorting is only added to the page is the above class is added to a table in the content.

As the javascript is vanilla it is unlikely to connflict with other plugins

This plugin uses Jonas Earendel’s Sortable table library. So advanced documenation can be found there and its many other features can be found there.

View a demo here: https://lhero.org/sortable-table-demo/.

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.0.11
这个插件是可用的下载,适用于您的站点。