SpreadJS Documentation
GC.Spread.Sheets Namespace / Range type / offset Method
The offset along the x-axis.
The offset along the y-axis.
In This Topic
    offset Method
    In This Topic
    Offsets the location of the range by the specified coordinates.
    Syntax
    var instance = new GC.Spread.Sheets.Range(r, c, rc, cc);
    var value; // Type: Range
    value = instance.offset(x, y);
    function offset( 
       x : number,
       y : number
    ) : Range;

    Parameters

    x
    The offset along the x-axis.
    y
    The offset along the y-axis.

    Return Value

    The new location.
    See Also

    Reference

    Range type