SpreadJS Documentation
HyperLink class
GC.Spread.Sheets.CellTypes Namespace : HyperLink class
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.Base
      GC.Spread.Sheets.CellTypes.HyperLink

Constructors
 NameDescription
public ConstructorRepresents the hyperlink cell.  
Top
Fields
 NameDescription
public Field (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets whether to move to the active cell when clicked.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
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 Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the type for the hyperlink's target.  
public MethodGets or sets the text string for the hyperlink.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the color of visited links.  
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Hyperlink Cell