mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 23:36:40 +00:00
feat(gui): navigate to next row cell on enter
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -219,6 +219,7 @@
|
||||
@cancel="editEnabled = {}"
|
||||
@update="onCellValueChange(col, row, columnObj)"
|
||||
@change="onCellValueChange(col, row, columnObj)"
|
||||
@navigateToNext="navigateToNext"
|
||||
/>
|
||||
|
||||
<table-cell
|
||||
@@ -536,6 +537,11 @@ export default {
|
||||
onCellValueChange(col, row, column, ev) {
|
||||
this.$emit('onCellValueChange', col, row, column, ev)
|
||||
},
|
||||
navigateToNext() {
|
||||
if (this.selected.row < this.rowLength - 1) {
|
||||
this.selected.row++
|
||||
}
|
||||
},
|
||||
addNewRelationTab(...args) {
|
||||
this.$emit('addNewRelationTab', ...args)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user