SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / HyperLink class
In This Topic
    HyperLink class
    In This Topic
    Represents the hyperlink cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.HyperLink();
    function HyperLink;
    Example
    This example creates a new hyperlink cell.
    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://spread.grapecity.com/");
    activeSheet.getCell(1, -1).height(30);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.HyperLink

    Constructors
     NameDescription
    public ConstructorRepresents the hyperlink cell.  
    Top
    Methods
     NameDescription
    public MethodGets or sets whether to move to the active cell when clicked.  
    public MethodGets or sets the color of the hyperlink.  
    public MethodGets or sets the tooltip for the hyperlink.  
    public MethodGets or sets the callback of the hyperlink, If execute the function will represent the context for the callback.  
    public MethodGets or sets the type for the hyperlink's target.  
    public MethodGets or sets the text string for the hyperlink.  
    public MethodGets or sets the color of visited links.  
    Top
    See Also