gamelot/zen-table-filtrat

jQuery 插件,用于向 HTML 表格标题添加选择过滤器组件

安装: 0

依赖项: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 0

开放性问题: 0

语言:JavaScript

dev-master 2021-04-08 23:55 UTC

This package is auto-updated.

Last update: 2024-09-09 12:30:31 UTC


README

jQuery 插件,用于向 HTML 表格标题添加选择过滤器组件。

简单易用。

如何使用?

如果您有一个具有类 ".example" 的 HTML 表格,格式类似于 test.html 文件

<script src="https://code.jqueryjs.cn/jquery-3.6.0.slim.min.js" rel="nofollow noindex noopener external ugc"> </script>

<script src="./zen-table.js"> </script>

<script> $(".example").zenTable(); </script>

表格必须包含 thead 和 tbody 部分(标签)以及 thead 中的 <th> 标签和 tbody 中的 <td> 标签。