import bootstrap-table v1.15.2&filter-control&fixed-columns,所有的CSS和js都需要导入
<table id="table"
data-filter-control="true" data-filter-show-clear="true"
data-search="true" data-show-columns="true"
data-minimum-count-columns="2"
data-pagination="true" class="table table-bordered">
<thead>
<tr>
<th data-field="id">ID</th>
<th data-field="name" data-filter-control="input">Item Name</th>
<th data-field="price" data-filter-control="select">Item Price</th>
<th data-field="name1" data-filter-control="input">Item Name</th>
<th data-field="pr1ice1" data-filter-control="select">Item Price</th>
<th data-field="nam1e1" data-filter-control="input">Item Name</th>
<th data-field="price1" data-filter-control="select">Item Price</th>
<th data-field="nam1e" data-filter-control="input">Item Name</th>
<th data-field="pric1e" data-filter-control="select">Item Price</th>
<th data-field="na1me" data-filter-control="input">Item Name</th>
<th data-field="pri1ce" data-filter-control="select">Item Price</th>
</tr>
</thead>
</table>
<script>
$(function() { $('#table').bootstrapTable() })
$("#table").bootstrapTable('destroy').bootstrapTable({
fixedColumns: true,
stickyHeader: true,
fixedNumber: 4
});
</script>
我希望使用data-filter-control的输入的输出可以显示输入词。但是,当我导入fixedColumns时,输入文本会消失