mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-06 01:37:11 +00:00
fix: grid view issues
- maintain column order after column rename - show column menu in main view and hide from grid view - keep column order from main view for newly created grid view Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
:sql-ui="sqlUi"
|
||||
:is-public-view="isPublicView"
|
||||
:is-locked="isLocked"
|
||||
:is-virtual="isVirtual"
|
||||
@saved="onNewColCreation"
|
||||
/>
|
||||
|
||||
@@ -464,10 +465,10 @@ export default {
|
||||
this.selected.col = null
|
||||
this.selected.row = null
|
||||
},
|
||||
onNewColCreation(col) {
|
||||
onNewColCreation(col, oldCol) {
|
||||
this.addNewColMenu = false
|
||||
this.addNewColModal = false
|
||||
this.$emit('onNewColCreation', col)
|
||||
this.$emit('onNewColCreation', col, oldCol)
|
||||
},
|
||||
expandRow(...args) {
|
||||
this.$emit('expandRow', ...args)
|
||||
|
||||
Reference in New Issue
Block a user