SMART datagrid v.1 > Classes > TreeOptions

[ grids ver.1.3.7]   Back  Forward

DataLudi.TreeOptions.rowSummaryScope  property

当求将会显示在树行页脚等的合计值时,通过TreeSummaryScope常数,指定将会合算为哪个行的值。 

通过summaryScope属性,指定整个树视图的合计包含范围。 

默认值为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
树行页脚