Make database column order reload after column update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Garrett Mills 2020-11-10 08:08:25 -06:00
parent b5b36cf614
commit c4e797b6a8
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -72,7 +72,7 @@ export class DatabaseComponent extends EditorNodeContract implements OnInit {
ngOnInit() {
this.editorService = this.editorService.getEditor(this.editorUUID);
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;
});
this.agGridElement.api.setColumnDefs([]);
this.agGridElement.api.setColumnDefs(this.columnDefs);
this.dirty = true;
this.editorService.triggerSave();