BootStrapTable 隐藏列
来源:互联网 发布:九泰基金 知乎 编辑:程序博客网 时间:2024/06/06 08:35
$(function () {
$("#cbFollowUpList").bootstrapTable({
url:'/npackage/naction_nfunc.action,
height:500,
dataType:"json",
striped:true,
cache:false,
undefinedText:"-",
sortName:"receiveDate",
sortOrder:"asc",
pagination:true,
sidePagination:"server",
toolbar:"#toolbar",
pageNumber:1,
pageSize:2,
pageList:[5,10,25,50],
paginationPreText:"上一页",
paginationNextText:"下一页",
columns:[{
checkbox:true
},
{field:'taskId',title:'任务ID',width:80,align:'center'},
{field:'businessType',title:'业务类型',width:130,align:'center'},
{field:'taskState',title:'任务状态',width:100,align:'center'},
{field:'taskLastName',title:'坐席姓名',width:100,align:'center'},
{field:'userId',title:'客户ID',width:100,align:'center'},
{field:'userName',title:'客户姓名',width:110,align:'center'},
{field:'sysCreateDate',title:'创建时间',width:125,align:'center'},
{field:'receiveDate',title:'任务领取时间',width:125,align:'center'},
{field:'finishDate',title:'任务处理时间',width:125,align:'center'},
{field:"dataTypeId",title:'dataTypeId',width:125,align:'center'}]
});
$('#cbFollowUpList').bootstrapTable('hideColumn', 'dataTypeId');
});
$("#cbFollowUpList").bootstrapTable({
url:'/npackage/naction_nfunc.action,
height:500,
dataType:"json",
striped:true,
cache:false,
undefinedText:"-",
sortName:"receiveDate",
sortOrder:"asc",
pagination:true,
sidePagination:"server",
toolbar:"#toolbar",
pageNumber:1,
pageSize:2,
pageList:[5,10,25,50],
paginationPreText:"上一页",
paginationNextText:"下一页",
columns:[{
checkbox:true
},
{field:'taskId',title:'任务ID',width:80,align:'center'},
{field:'businessType',title:'业务类型',width:130,align:'center'},
{field:'taskState',title:'任务状态',width:100,align:'center'},
{field:'taskLastName',title:'坐席姓名',width:100,align:'center'},
{field:'userId',title:'客户ID',width:100,align:'center'},
{field:'userName',title:'客户姓名',width:110,align:'center'},
{field:'sysCreateDate',title:'创建时间',width:125,align:'center'},
{field:'receiveDate',title:'任务领取时间',width:125,align:'center'},
{field:'finishDate',title:'任务处理时间',width:125,align:'center'},
{field:"dataTypeId",title:'dataTypeId',width:125,align:'center'}]
});
$('#cbFollowUpList').bootstrapTable('hideColumn', 'dataTypeId');
});
0 0
- BootStrapTable 隐藏列
- bootstraptable获取显示隐藏列方法
- bootstrapTable中怎么让某些列隐藏
- bootstrapTable 根据条件隐藏某列
- bootstraptable表格columns 隐藏方法
- bootstrapTable 数据绑定和修改列
- BootstrapTable 特定列修改字体颜色
- bootstrapTable
- access表隐藏列隐藏
- 隐藏table的列
- 隐藏gridview的列
- VS2005 GridView 隐藏列
- GirdView隐藏列
- gridview 隐藏列注意事项
- c#listview隐藏列
- 隐藏gridview的列
- GridView隐藏列
- GridView 隐藏列问题
- hdu 1018 Big Number(公式求阶乘位数)
- 将Java程序打包成可执行文件jar包,然后执行jar包,不引用外部包的情况
- Handwritten digit recognition with ANNs
- JS_中Iterale
- STM32程序死在BEAB BKPT 0xAB解决办法
- BootStrapTable 隐藏列
- 扣减库存策略采用订单是否锁定库存方案
- java double比较大小
- hightchat图表展示
- 阶乘的和
- gdufe acm 1361 校庆抽奖
- 第十八套
- js数组去重与排序
- Urlrewrite入门学习(2017-02-12)