selection

Returns a range with the current active selection.

Returns

kendo.spreadsheet.Range the selection 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:B2").select();

    var selection = sheet.selection(); // A1:B2 range
</script>
In this article
Not finding the help you need? Improve this article