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