@@ -20,6 +20,7 @@ ChangeLog
- **Update:** Fixed the `page-change` event before init server.
- **Update:** Fixed `font-size` of the loading text.
- **Update:** Fixed table `border` bug when table is hidden.
+- **Update:** Fixed `showRow` method show all hidden rows bug.
#### Extensions
@@ -2339,18 +2339,16 @@ class BootstrapTable {
} else if (visible && index > -1) {
this.hiddenRows.splice(index, 1)
}
- if (visible) {
- this.updatePagination()
- } else {
- this.initBody(true)
- this.initPagination()
- }
+
+ this.initBody(true)
+ this.initPagination()
getHiddenRows (show) {
if (show) {
this.initHiddenRows()
this.initBody(true)
return
const data = this.getData()