sheets.hyperlinks.target String
The target link that will be opened when the cell is clicked.
Example - Set the target url
<script>
var workbook = new kendo.ooxml.Workbook({
sheets: [
{
hyperlinks: [{ref: "A1", target: "https://google.com"}, {ref: "A2", target: "https://youtube.com"}],
rows: [
{ cells: [ { value: "Google" } ] },
{ cells: [ { value: "Youtube" } ] }
]
}
]
});
workbook.toDataURLAsync().then(dataURI => {
kendo.saveAs({
dataURI,
fileName: "Test.xlsx"
});
});
</script>