When you set the height of bootstrap table, the fixed header feature is automatically enabled, that is what cause the problem, you need to listen the resize event of window and use the resetView method to solve this problem, code example:
$(function () {
$('#tableId').bootstrapTable(); // init via javascript
$(window).resize(function () {
$('#tableId').bootstrapTable('resetView');
});
});
All your ideas and feedback are very appreciated! Please feel free to open issues on github or send me email.
When you set the
heightof bootstrap table, thefixed headerfeature is automatically enabled, that is what cause the problem, you need to listen theresizeevent of window and use theresetViewmethod to solve this problem, code example: