The range of rows which will be the target when calculate sum of Tree View or Tree Row.
DESCENDTANT | "descendant" | All descendant rows. |
ALL | "all" | All descendant rows and itself. |
CHILD | "child" | Child rows just below. |
PARENT_CHILD | "parentChild" | Child rows just below and itself. |
GROUP | "group" | Rows having child rows among descendant rows. |
LEAF | "leaf" | Leaf rows with no child rows. |
tree.setTreeOptions({
summaryScope: DataLudi.TreeSummaryScope.LEAF,
rowSummaryScope: DataLudi.TreeSummaryScope.CHILD
});