Allow reordering table columns using drag and drop in ERD Tool and create table. #4994

This commit is contained in:
Aditya Toshniwal
2022-10-03 11:18:22 +05:30
committed by GitHub
parent 869b90121c
commit 406119d96c
10 changed files with 250 additions and 49 deletions

View File

@@ -661,6 +661,7 @@ export default class TableSchema extends BaseUISchema {
},
canAdd: this.canAddRowColumns,
canEdit: true, canDelete: true,
canReorder: (state)=>(this.inErd || this.isNew(state)),
// For each row edit/delete button enable/disable
canEditRow: this.canEditDeleteRowColumns,
canDeleteRow: this.canEditDeleteRowColumns,