SMART datagrid v.1 > Types

[ grids ver.1.3.0]   Back  Forward

DataLudi.ColumnCalcBounds

The bound of cells which will be calculated together with cell value of Calculated Column of cached

It is used as CalculatedColumn.calcBounds property. Calculation area is specified by CalculatedColumn.calcRange property. 

Values
GRID"grid"Calculate all grid rows.
GROUP"group"Calculate terminal grid rows belonging to the same row group.

Code -1
    grid.setColumns([{
        name: "colQuantity",
        type: "calced",
        cached: true,
        calcBounds: DataLudi.ColumnCalcBounds.GRID,
        calcRange: DataLudi.ColumnCalcRange.FIRST,
        valueExpression: "quantity + prevval",
        ...
    },
    ...
    ];
See Also
ColumnCalcBounds
CalculatedColumn.calcBounds
CalculatedColumn.calcRange
Examples
Total Calculated Columns
Calculated Columns