form view refactored refresh

This commit is contained in:
Jan Prochazka
2021-01-14 19:08:52 +01:00
parent a21b61cc7e
commit ad4fa77e46
3 changed files with 136 additions and 47 deletions

View File

@@ -33,7 +33,7 @@ export class TableFormViewDisplay extends FormViewDisplay {
super(config, setConfig, cache, setCache, driver, dbinfo);
this.gridDisplay = new TableGridDisplay(tableName, driver, config, setConfig, cache, setCache, dbinfo);
this.isLoadedCorrectly = this.gridDisplay.isLoadedCorrectly;
this.isLoadedCorrectly = this.gridDisplay.isLoadedCorrectly && !!this.driver;
this.columns = this.gridDisplay.columns;
this.baseTable = this.gridDisplay.baseTable;
}