ソースを参照

dont go through the detail view column

Dustin Utecht 6 年 前
コミット
e22be98668

+ 1 - 1
src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

@@ -122,7 +122,7 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
       let columnsHidden = []
       let columnIndex = -1
       const optionsColumns = []
-      that.$header.find('th').each(function (i) {
+      that.$header.find('th:not(.detail)').each(function (i) {
         ths.push($(this).data('field'))
         formatters.push($(this).data('formatter'))
       })