For merged cells, when you do refresh, next page or switch columns to show, the merge cells will be unmerged. We can listen the events(on load success, on column switch, on page change and on search) to solve this problem, code example:
$table.on('load-success.bs.table column-switch.bs.table page-change.bs.table search.bs.table', function () {
$table.bootstrapTable('mergeCells', {...});
});
All your ideas and feedback are very appreciated! Please feel free to open issues on github or send me email.
I'm also grateful for your donations:
Thank you!
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: