Browse Source

Add the hidden class instead of replacing the original class

Dustin Utecht 4 years ago
parent
commit
2d65be4a64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/group-by-v2/bootstrap-table-group-by.js

+ 1 - 1
src/extensions/group-by-v2/bootstrap-table-group-by.js

@@ -105,7 +105,7 @@ BootstrapTable.prototype.initSort = function (...args) {
         }
 
         if (this.isCollapsed(key, value)) {
-          item._class = 'hidden'
+          item._class += ' hidden'
         }
 
         item._data['parent-index'] = index