首页 > 其他 > 详细

bootstrap-table 表头和内容对不齐

时间:2017-01-17 23:27:31      阅读:331      评论:0      收藏:0      [点我收藏+]

问题:

技术分享

bootstrap-table.js 找到 BootstrapTable.prototype.resetView

if (this.options.showHeader && this.options.height) {
     this.$tableHeader.show();
     //注释掉下面两行 取消表头初始化解决表头和内容不对齐问题
     //this.resetHeader();
     //padding += this.$header.outerHeight();
}

技术分享

即可解决问题!

bootstrap-table 表头和内容对不齐

原文:http://www.cnblogs.com/hz-cww/p/6294909.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!