SpreadJS 13
GC.Spread.Sheets.ConditionalFormatting Namespace / ConditionRuleBase type / intersects Method
The row index.
The column index.
The number of rows.
The number of columns.
In This Topic
    intersects Method
    In This Topic
    Specifies whether the range for this rule intersects another range.
    Syntax
    var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionRuleBase(ruleType, style, ranges);
    var value; // Type: boolean
    value = instance.intersects(row, column, rowCount, columnCount);
    function intersects( 
       row : number,
       column : number,
       rowCount : number,
       columnCount : number
    ) : boolean;

    Parameters

    row
    The row index.
    column
    The column index.
    rowCount
    The number of rows.
    columnCount
    The number of columns.

    Return Value

    true if the range for this rule intersects another range; otherwise, false.
    See Also