Gets or sets the hyperlink of the cells in the range.

Parameters

url String optional

Pass a string (the URL) to create a hyperlink. Pass null to remove the link. Omit argument to get the existing URL, if any.

Returns

String the current hyperlink attribute of the top-left cell of the range.

Example

    <div id="spreadsheet"></div>
    <script type="text/javascript" charset="utf-8">
        $("#spreadsheet").kendoSpreadsheet();
        var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
        var sheet = spreadsheet.activeSheet();
        sheet.range("A1").value("Visit telerik.com!");
        sheet.range("A1").link("https://www.telerik.com/");
    </script>

In this article