SMART datagrid v.1 > Classes > CellRange

Back  Forward

DataLudi.CellRange.create  static method

It is static function which creates CellRange object corresponding to the range of two CellIndex. 

function create (index1: CellIndex, index2: CellIndex): CellRange;
Returns
CellRange
Parameters
index1 - CellIndex. required.
index2 - CellIndex. required.
Code -1
    var range = CellRange.create(index1, index2);
    var values = range.getValues();
See Also
createRange
Examples
Selection
Multiple Selection