[]
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.spreadjs.com',
tooltip: 'baidu',
target: GC.Spread.Sheets.Hyperlink.HyperlinkTargetType.top,
}, GC.Spread.Sheets.SheetArea.viewport);
• blank = 0
Opens the hyperlinked document in a new window or tab.
• parent = 2
Opens the hyperlinked document in the parent frame.
• self = 1
Opens the hyperlinked document in the same frame where the user clicked.
• top = 3
Opens the hyperlinked document in the full body of the window.