Bootstrap Table Fixed Columns-2

在上个版本中:Bootstrap Table Fixed Columns 添加了footer来进行展示的处理,但是在固定高度的时候发现样式错乱的问题,因此有了本次的记录:

删除有关tfooter的操作

Bootstrap Table Fixed Columns-2Bootstrap Table Fixed Columns-2Bootstrap Table Fixed Columns-2Bootstrap Table Fixed Columns-2

删除完成后,js就干干净净了,进行如下修改

Bootstrap Table Fixed Columns-2

在BootstrapTable.prototype.initBody末尾增加如下代码,将tfoot的信息写入

Bootstrap Table Fixed Columns-2

修改BootstrapTable.prototype.fitBodyColumns,判定高度

Bootstrap Table Fixed Columns-2

这样就OK了