bootstrap table showHeader显示表格头部

bootstrap table showHeader显示和隐藏表格头部,showHeader设置ture显示,设置false隐藏。

方法一在html中使用

<table id="table" data-show-header="false"></table>

方法二在JS中使用

$('#table').bootstrapTable({
            columns: columns,
            data: data,
            showHeader:false //隐藏表格头部
});

在线试一试

Bootstrap表格插件Bootstrap Table配置教程 vue.draggable