SpreadJS Documentation
HyperLinkTargetType Enumeration
GC.Spread.Sheets.CellTypes Namespace : HyperLinkTargetType Enumeration
Specifies the hyperlink's target type.
Members
MemberDescription
blankOpens the hyperlinked document in a new window or tab.
parentOpens the hyperlinked document in the parent frame.
selfOpens the hyperlinked document in the same frame where the user clicked.
topOpens the hyperlinked document in the full body of the window.
Example
This example creates a hyperlink cell.
var cellType = new GC.Spread.Sheets.CellTypes.HyperLink();
cellType.linkColor("blue");
cellType.visitedLinkColor("#FFFF00");
cellType.text("GrapeCity");
cellType.linkToolTip("Company Web Site");
cellType.target(GC.Spread.Sheets.CellTypes.HyperLinkTargetType.self);
activeSheet.getCell(0, 2).cellType(cellType).value("http://spread.grapecity.com/");
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.HyperLinkTargetType

See Also

Reference

GC.Spread.Sheets.CellTypes Namespace