SpreadJS Documentation
getIntersect Method
GC.Spread.Sheets Namespace > Range type : getIntersect Method
The cell range.
The maximum row count.
The maximum column count.
Gets the intersection of two cell ranges.
Syntax
var instance = new GC.Spread.Sheets.Range(r, c, rc, cc);
var value; // Type: Range
value = instance.getIntersect(range, maxRowCount, maxColumnCount);
function getIntersect( 
   range : Range,
   maxRowCount : number,
   maxColumnCount : number
) : Range;

Parameters

range
The cell range.
maxRowCount
The maximum row count.
maxColumnCount
The maximum column count.

Return Value

Returns null if there is no intersection, or the cell range of the intersection.
See Also

Reference

Range type