在上个版本中: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了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2021-06-22
  • 2021-07-10
  • 2021-05-22
  • 2021-06-30
猜你喜欢
  • 2021-07-14
  • 2021-11-15
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
相关资源
相似解决方案