bootstrap-table 表頭和內容寬度不一致解決辦法

在進行bootstrap分頁處理的時候,使用bootstrap-table出現表頭與內容寬度不一致的情況。如下圖: 解決方法: 修改bootstrap-table.js源碼,將BootstrapTable.prototype.resetView函數體中的 this.resetHeader(); padding += this.$header.outerHeight(); 註釋掉,下圖:
相關文章
相關標籤/搜索