bootstrap-table:table 结构在隐藏 colspan 列时中断

bootstrap-table: table structure breaks when hiding colspan columns

我正在尝试使用 bootstrap-table plugin. I'm running into issues when I use a multi-row header. That is, when I attempt to hide a column, the cell(s) in the header rows above the lowest row aren't being hidden as they're supposed to, which breaks the table structure. Try hiding a column in the following example: http://jsfiddle.net/ovg67xu4/

在我的 html table 上启用列可见性控制

另一个例子:http://jsfiddle.net/fp2eLkLh/2/

这是我使用 datatables plugin: https://jsfiddle.net/uL34xLq0/4/

寻找的工作示例

(如果在每个示例中删除标记为“1”或“2”或两者的列,您会看到问题)。

知道如何解决这个问题吗?或者此插件不支持 multi-row headers 的列可见性控制?

编辑:回复询问 data-visible 属性是否解决问题的评论。它没有并进一步证明了问题:http://jsfiddle.net/qy503gwq/1/

问题已被识别并将在下一个版本 (1.12.0) 中修复:https://github.com/wenzhixin/bootstrap-table/issues/3213