focused column & scroll focused column in view

This commit is contained in:
Jan Prochazka
2020-04-26 17:27:07 +02:00
parent 8c1318ad05
commit 9c800f87f4
5 changed files with 55 additions and 5 deletions

View File

@@ -65,6 +65,17 @@ export abstract class GridDisplay {
}
}
focusColumn(uniqueName: string) {
this.setConfig({
...this.config,
focusedColumn: uniqueName,
});
}
get focusedColumn() {
return this.config.focusedColumn;
}
get engine() {
return this.driver?.engine;
}
@@ -142,7 +153,7 @@ export abstract class GridDisplay {
continue;
}
}
if (conditions.length > 0) {
select.where = {
conditionType: 'and',