Browse Source

dont go through the detail view column

Dustin Utecht 6 years ago
parent
commit
e22be98668
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

+ 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'))
       })