SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / getHyperlink Method
The row index.
The column index.
The sheet area. If this parameter is not provided, it defaults to viewport.
In This Topic
    getHyperlink Method
    In This Topic
    Sets the hyperlink data for the specified cell in the specified sheet area.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: any
    value = instance.getHyperlink(row, col, sheetArea);
    function getHyperlink( 
       row : number,
       col : number,
       sheetArea : SheetArea
    ) : any;

    Parameters

    row
    The row index.
    col
    The column index.
    sheetArea
    The sheet area. If this parameter is not provided, it defaults to viewport.
    Example
    //This example uses the getHyperlink method.
    let firstHyperlinkData = sheet.getHyperlink(0, 2, GC.Spread.Sheets.SheetArea.viewport);
    let secondHyperlinkData = sheet.setHyperlink(1, 1, GC.Spread.Sheets.SheetArea.viewport);
    See Also

    Reference

    Worksheet type