SpreadJS 13
GC.Spread.Sheets.Hyperlink Namespace / HyperlinkTargetType Enumeration
In This Topic
    HyperlinkTargetType Enumeration
    In This Topic
    Present the way that user open the hyperlinked document. Default is blank.
    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 uses the HyperlinkTargetType.
    sheet.setHyperlink(1, 1, {
       url: 'https://www.grapecity.com/spreadjs',
       tooltip: 'baidu',
       target: GC.Spread.Sheets.Hyperlink.HyperlinkTargetType.top,
    }, GC.Spread.Sheets.SheetArea.viewport);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.Hyperlink.HyperlinkTargetType

    See Also