sheets.hyperlinks Array
Specify a collection of hyperlinks that will be applied to the corresponding cells. You can set only one link per cell.
Example - Add hyperlinks to cells A1 and A2
<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>