SMART datagrid v.1 > Classes > CalculatedColumn
Specify the bound of cells which will be calculated together when calculating cell value of cached calculated column by ColumnCalcBounds constant.
The calculation area is set by calcRange property.
Defaults to ColumnCalcBounds.GRID.
grid.setColumns([{
name: "colQuantity",
type: "calced",
cached: true,
calcBounds: DataLudi.ColumnCalcBounds.GRID,
calcRange: DataLudi.ColumnCalcRange.FIRST,
valueExpression: "quantity + prevval",
...
},
...
];