diff --git a/src/extensions/group-by/bootstrap-table-group-by.js b/src/extensions/group-by/bootstrap-table-group-by.js index 376a4ed315..35c3b61a79 100644 --- a/src/extensions/group-by/bootstrap-table-group-by.js +++ b/src/extensions/group-by/bootstrap-table-group-by.js @@ -176,7 +176,7 @@ originalRowAttr = this.options.rowAttributes; this.options.rowAttributes = rowAttr; - this.$el.on('post-body.bs.table', function () { + this.$el.off('post-body.bs.table').on('post-body.bs.table', function () { that.$el.treetable({ expandable: true, onNodeExpand: function () {