Browse Source

Merge pull request #4253 from wenzhixin/fix/2649

Also add classes and style from cellStyle option/function
文翼 6 years ago
parent
commit
a454b9a34f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1973,7 +1973,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}"