Browse Source

Hotfix/cell update (#1006)

* fix: save record on enter/shift-enter key press

closes #1002

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: update cell value after claering cell using delete key

closes #1005

Signed-off-by: Pranav C <pranavxc@gmail.com>

Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1007/head
Pranav C 3 years ago committed by GitHub
parent
commit
d5722fa196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui/components/project/spreadsheet/views/xcGridView.vue

4
packages/nc-gui/components/project/spreadsheet/views/xcGridView.vue

@ -498,6 +498,8 @@ export default {
}
this.$set(rowObj, columnObj._cn, null)
// update/save cell value
this.onCellValueChange(this.selected.col, this.selected.row, columnObj)
}
break
// left
@ -605,7 +607,7 @@ export default {
if (this.selected.row > 0) {
this.selected.row--
}
},
},
addNewRelationTab(...args) {
this.$emit('addNewRelationTab', ...args)
},

Loading…
Cancel
Save