grayed nodes in perspective designer

This commit is contained in:
Jan Prochazka
2022-09-01 17:51:40 +02:00
parent 9e73e16b7f
commit 428de38b41
3 changed files with 23 additions and 5 deletions

View File

@@ -190,6 +190,12 @@ export abstract class PerspectiveTreeNode {
return null;
}
get hasUncheckedNodeInPath() {
if (!this.parentNode) return false;
if (!this.isCheckedNode) return true;
return this.parentNode.hasUncheckedNodeInPath;
}
get childDataColumn() {
if (this.isCheckedColumn) {
return this.codeName;