Browse Source

rerender the table on save data (#4225)

Fixed editable rerender bug when saving data
Dustin U 6 years ago
parent
commit
11510841a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/editable/bootstrap-table-editable.js

+ 1 - 1
src/extensions/editable/bootstrap-table-editable.js

@@ -121,7 +121,7 @@
           $this.data('value', submitValue)
           row[column.field] = submitValue
           this.trigger('editable-save', column.field, row, oldValue, $this)
-          this.resetFooter()
+          this.initBody()
         })
 
         $field.off('shown').on('shown', ({currentTarget}, editable) => {