SMART datagrid v.1 > Types

[ grids ver.1.3.7]   Back  Forward

DataLudi.TreeSummaryScope

当计算树视图树行的合计时,相关对象行的范围。 

Values
DESCENDTANT"descendant"所有子孙行。
ALL"all"所有子孙行和本身。
CHILD"child"位于正下方的子行。
PARENT_CHILD"parentChild"位于正下方的子行和本身。
GROUP"group"在子孙行中,具有子行的行。
LEAF"leaf"没有子行的叶行。

Code -1
    tree.setTreeOptions({
        summaryScope: DataLudi.TreeSummaryScope.LEAF,
        rowSummaryScope: DataLudi.TreeSummaryScope.CHILD
    });
See Also
TreeOptions.summaryScope
TreeOptions.rowSummaryScope
TreeView.treeOptions
Examples
树行页脚