Browse Source

feat: automatically create a new row on navigating next within last row

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4025/head
mertmit 2 years ago
parent
commit
3610cdaf71
  1. 3
      packages/nc-gui/components/smartsheet/Grid.vue

3
packages/nc-gui/components/smartsheet/Grid.vue

@ -235,7 +235,8 @@ const onNavigate = (dir: NavigateDir) => {
if (selected.row < data.value.length - 1) {
selected.row++
} else {
editEnabled = false
addEmptyRow()
selected.row++
}
break
case NavigateDir.PREV:

Loading…
Cancel
Save