Fixed reorder row bug when side-pagination is server
@@ -12,6 +12,7 @@ ChangeLog
#### Extensions
- **Update(filter-control):** Fixed inputs losing their content when using nested attributes.
+- **Update(reorder-rows):** Fixed reorder row bug when side-pagination is server.
### 1.21.3
@@ -116,6 +116,10 @@ $.BootstrapTable = class extends $.BootstrapTable {
this.initSearch()
+ if (this.options.sidePagination === 'server') {
+ this.data = [...this.options.data]
+ }
+
// Call the user defined function
this.options.onReorderRowsDrop(droppedRow)