bootstrap table
爱人间
这个作者很懒,什么都没留下…
展开
-
获取Bootstrap-Table的所有内容,修改行内容
var allTableData = $tableLeft.bootstrapTable('getData');//获取表格的所有内容行 var flag = false; for( i=0;i{ $tableLeft.bootstrapTable('updateRow', { index: i,转载 2016-03-25 13:28:17 · 5956 阅读 · 2 评论 -
bootstrap table单元格样式,行样式以及分页显示全部的设置
1、单元格样式:cellStyle : function cellStyle(value, row, index) {return {css : {"white-space" : "nowrap"}};},2、 行样式:rowStyle:function rowStyle(row, index) {return { css: {"white-spac原创 2016-07-21 11:05:30 · 26526 阅读 · 1 评论 -
bootstrap table分页采用server方式,分页查询
1、$('#reportTable').bootstrapTable({ method: 'get', //请求方式(*)cache : false,striped : true,pagination : true,queryParams:queryParams,// 传递的参数function queryParams(params)原创 2016-07-21 11:06:51 · 2932 阅读 · 0 评论