bootstrap表格
2016-08-26 00:00
134 查看
bootstrap表格
用到的js和css
jquery-1.11.1.min.js(需要jquary1.9.1以上)
bootstrap.min.css
bootstrap-table.css
bootstrap.min.js
bootstrap-table.js
bootstrap-table-zh-CN.js
代码
html页面
js代码
用到的js和css
jquery-1.11.1.min.js(需要jquary1.9.1以上)
bootstrap.min.css
bootstrap-table.css
bootstrap.min.js
bootstrap-table.js
bootstrap-table-zh-CN.js
代码
html页面
<table id="table"></table>
js代码
$('#table').bootstrapTable({ url: 'Newplugins/bootstrap_table/bower.json',//远程调用的json格式数据 columns: [{//表列配置对象 field: 'id',//字段名 title: 'Item ID'//列名 }, { field: 'name', title: 'Item Name' }, { field: 'price', title: 'Item Price' }, ] });
$('#table').find("tr").attr("style","white-space:nowrap");//让列内容显示在一行
相关文章推荐
- JS组件系列——表格组件神器:bootstrap table(三:终结篇,最后的干货福利)
- Bootstrap3 表格-紧缩表格
- Bootstrap表格插件--bootstrap-table
- bootstrap table 表格内容溢出隐藏
- JS表格组件神器bootstrap table详解(强化版)
- 值得分享的轻量级Bootstrap Table表格插件
- 【BootStrap】--具有增删改查功能的表格Demo
- bootstrap 表格插件bootstrap-table的使用
- Bootstrap关于表格
- JS组件系列——表格组件神器:bootstrap table
- 深入理解BootStrap Item4 -- 表格
- Bootstrap3基础 table-responsive 响应式表格
- BootStrap的table表格的基本写法
- JS组件系列——表格组件神器:bootstrap table(二:父子表和行列调序)
- JS表格组件神器bootstrap table详解(基础版)
- bootstrap入门【表格】
- bootstrap table总结, bootstrap表格带参请求,基本设置项,bootstrap表格返回参数处理
- 结合bootstrap fileinput插件和Bootstrap-table表格插件,实现文件上传、预览、提交的导入Excel数据操作流程
- dtGrid基于bootstrap的表格