Make database column order reload after column update
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b5b36cf614
commit
c4e797b6a8
@ -72,7 +72,7 @@ export class DatabaseComponent extends EditorNodeContract implements OnInit {
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.editorService = this.editorService.getEditor(this.editorUUID);
|
this.editorService = this.editorService.getEditor(this.editorUUID);
|
||||||
this.editorService.registerNodeEditor(this.nodeId, this).then(() => {
|
this.editorService.registerNodeEditor(this.nodeId, this).then(() => {
|
||||||
console.log('database editor', this);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,6 +176,7 @@ export class DatabaseComponent extends EditorNodeContract implements OnInit {
|
|||||||
return x;
|
return x;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.agGridElement.api.setColumnDefs([]);
|
||||||
this.agGridElement.api.setColumnDefs(this.columnDefs);
|
this.agGridElement.api.setColumnDefs(this.columnDefs);
|
||||||
this.dirty = true;
|
this.dirty = true;
|
||||||
this.editorService.triggerSave();
|
this.editorService.triggerSave();
|
||||||
|
Loading…
Reference in New Issue
Block a user