ソースを参照

rerender the table on save data (#4225)

Fixed editable rerender bug when saving data
Dustin U 6 年 前
コミット
11510841a5
1 ファイル変更1 行追加1 行削除
  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)
           $this.data('value', submitValue)
           row[column.field] = submitValue
           row[column.field] = submitValue
           this.trigger('editable-save', column.field, row, oldValue, $this)
           this.trigger('editable-save', column.field, row, oldValue, $this)
-          this.resetFooter()
+          this.initBody()
         })
         })
 
 
         $field.off('shown').on('shown', ({currentTarget}, editable) => {
         $field.off('shown').on('shown', ({currentTarget}, editable) => {