[]
        
(Showing Draft Content)

GC.Spread.Sheets.Hyperlink.HyperlinkTargetType

Enumeration: HyperlinkTargetType

Sheets.Hyperlink.HyperlinkTargetType

Present the way that user open the hyperlinked document. Default is blank.

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);

Table of contents

Enumeration members

Enumeration members

blank

blank = 0

Opens the hyperlinked document in a new window or tab.


parent

parent = 2

Opens the hyperlinked document in the parent frame.


self

self = 1

Opens the hyperlinked document in the same frame where the user clicked.


top

top = 3

Opens the hyperlinked document in the full body of the window.