SMART datagrid v.1 > Classes > TreeOptions

[ grids ver.1.3.7]   Back  Forward

DataLudi.TreeOptions.rowSummaryScope  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 Row

The total coverage of entire Tree View is specified by summaryScope property. 

Defaults to TreeSummaryScope.DESCENDANT.

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