sheets.hyperlinks.ref String
The cell to which the link must be applied. Examples - "A1", "A2", "B3", "AA2", "BA2", "C5".
Example - Set the cell reference
<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>