Browse Source

Fix #1391: data-formatter is not working with data-checkbox.

zhixin 10 years ago
parent
commit
569a565b97
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -1499,6 +1499,7 @@
                         sprintf(' disabled="%s"', !column.checkboxEnabled ||
                         (value && value.disabled) ? 'disabled' : undefined) +
                         ' />',
+                        column.formatter ? value : '',
                         that.options.cardView ? '</div>' : '</td>'
                     ].join('');