SpreadJS Documentation
GC.Spread.Sheets Namespace / CellTypes type / HyperLink Method
In This Topic
    HyperLink Method
    In This Topic
    Represents the hyperlink cell.
    Syntax
    var value; // Type: any
    value = GC.Spread.Sheets.CellTypes.HyperLink();
    function HyperLink() : any;
    Example
    var cellType = new GC.Spread.Sheets.CellTypes.HyperLink();
    cellType.linkColor("blue");
    cellType.visitedLinkColor("#FF2235");
    cellType.text("GrapeCity");
    cellType.linkToolTip("Company Web Site");
    activeSheet.getCell(1, 1).cellType(cellType).value("http://www.grapecity.com/");
    activeSheet.getCell(1, -1).height(30);
    var cellType = new GC.Spread.Sheets.CellTypes.HyperLink();
    cellType.linkColor("blue");
    cellType.visitedLinkColor("#FF2235");
    cellType.text("GrapeCity");
    cellType.linkToolTip("Company Web Site");
    activeSheet.getCell(0, 2).cellType(cellType).value("formula.html");
    See Also

    Reference

    CellTypes type