SMART datagrid v.1 > Types

[ grids ver.1.3.7]   Back  Forward

DataLudi.TreeSummaryScope

The range of rows which will be the target when calculate sum of Tree View or Tree Row

Values
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.

Code -1
    tree.setTreeOptions({
        summaryScope: DataLudi.TreeSummaryScope.LEAF,
        rowSummaryScope: DataLudi.TreeSummaryScope.CHILD
    });
See Also
TreeOptions.summaryScope
TreeOptions.rowSummaryScope
TreeView.treeOptions
Examples
Tree Row Footer