浏览代码

Also add classes and style from cellStyle option/function

Dustin Utecht 6 年之前
父节点
当前提交
56bbdc99d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1970,7 +1970,7 @@
           text = [
             this.options.cardView
               ? `<div class="card-view ${c}">`
-              : `<td class="bs-checkbox ${c}">`,
+              : `<td class="bs-checkbox ${c}"${class_}${style_}>`,
             `<label>
               <input
               data-index="${i}"