基于jQuery、bootstrap展开表格行插件

插件特效
2026-07-26 04:04 3 次浏览 • 0 次下载 2.1KB
基于jQuery、bootstrap展开表格行插件

使用方法

1.使用这个可扩展表格插件要引入jQuery和Bootstrap的相关文件。

1
2
3
4
5
6
7
<link rel="stylesheet" href="css/bootstrap-table-expandable.css">
<!-- INCLUDES -->
<link rel="stylesheet" href="css/bootstrap-table-expandable.css">
<script src="js/bootstrap-table-expandable.js"></script>

2.以下是HTML基本结构

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<table >
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Area</th>
<th>Official languages</th>
</tr>
</thead>
<tbody>
<tr>
<td>United States of America</td>
<td>306,939,000</td>
<td>9,826,630 km2</td>
<td>English</td>
</tr>
<tr>
<td colspan="5">
<!-- CONTENT -->
</td>
</tr>
</tbody>
</table>

3.详情可参考index.html

星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

关于我们

隐私政策

侵权投诉

站长:IT小君

粤ICP备20043561号

2016-2046 © 星河码客

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare