SMART datagrid v.1 > Classes > TreeOptions

[ grids ver.1.3.7]   Back  Forward

DataLudi.TreeOptions.summaryScope  property

It specifies of which rows it will add up the value by TreeSummaryScope constant when find the sum values which will be displayed in the footer of Tree View

The sum coverage of Tree Row is specified by rowSummaryScope property. 

Defaults to TreeSummaryScope.DESCENDANT.

Getter
function summaryScope(): TreeSummaryScope
Setter
function setSummaryScope(value: TreeSummaryScope)
Code -1
    tree.setTreeOptions({
        summaryScope: DataLudi.TreeSummaryScope.LEAF,
        rowSummaryScope: DataLudi.TreeSummaryScope.CHILD
    });
See Also
rowSummaryScope
rowSummaryMode
DisplayOptions.summaryMode
Examples
Tree Row Footer