浏览代码

fix column reordering while select input text

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

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

@@ -114,6 +114,7 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
     maxMovingRows: that.options.maxMovingRows,
     dragaccept: that.options.dragaccept,
     clickDelay: 200,
+    dragHandle: '.th-inner',
     beforeStop () {
       const ths = []
       const formatters = []