cell data autodetect format, collapsed views in detail

This commit is contained in:
Jan Prochazka
2020-11-07 10:27:08 +01:00
parent c57ec68916
commit d234226750
5 changed files with 38 additions and 10 deletions

View File

@@ -218,4 +218,11 @@ export class TableGridDisplay extends GridDisplay {
}
}
}
get hasReferences() {
if (!this.table) return false;
if (this.table.foreignKeys && this.table.foreignKeys.length > 0) return true;
if (this.table.dependencies && this.table.dependencies.length > 0) return true;
return false;
}
}