active chart - load data from query

This commit is contained in:
Jan Prochazka
2020-12-05 20:47:31 +01:00
parent 61217a944b
commit 0c4d5b5356
9 changed files with 197 additions and 23 deletions

View File

@@ -433,9 +433,10 @@ export abstract class GridDisplay {
return sql;
}
getExportQuery() {
getExportQuery(postprocessSelect = null) {
const select = this.createSelect({ isExport: true });
if (!select) return null;
if (postprocessSelect) postprocessSelect(select);
const sql = treeToSql(this.driver, select, dumpSqlSelect);
return sql;
}