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

所属分类:UI-图表

 30975  332  查看评论 (4)
分享到微信朋友圈
X
基于jQuery、bootstrap展开表格行插件 ie兼容8

使用方法

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

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">              
<link rel="stylesheet" href="css/bootstrap-table-expandable.css">
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!-- INCLUDES -->
<link rel="stylesheet" href="css/bootstrap-table-expandable.css">
<script src="js/bootstrap-table-expandable.js"></script>

2.以下是HTML基本结构

<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

相关插件-图表

ets实现汽车动态仪表盘

通过ets实现汽车动态仪表盘,包括速度,转速等的实时数据更新
  图表
 17865  207

jQuery表头固定

基于superTables做的改造,可以完美锁定表头和列,已经用于实际项目,还有很多改造的空间
  图表
 41761  456

D3&jquery多功能图表(原创)

基于D3的多功能图表。可添加描述,收缩节点,滚轮缩放整图尺寸
  图表
 18066  214
  图表
 69490  604

讨论这个项目(4)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    余艹艹 0
    2021/5/21 9:45:02
    我知道,那一定不是你,再没人能唱出像你那样动人的歌曲 回复
    某人 0
    2018/9/8 19:15:29
    请问如何绑定数据啊 回复
    八年◆还在 0
    2018/6/1 17:52:21
    淡入淡出换成滑入滑出更好
    回复
    25_hour 0
    2018/5/23 11:22:55
    各方等我的顶顶顶顶顶的顶顶顶顶顶 回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复