activeSheet

Gets or sets the active sheet.

Parameters

sheet kendo.spreadsheet.Sheet optional

The sheet to set as active.

Returns

kendo.spreadsheet.Sheet - The active sheet.

Example - changing the active sheet

<div id="spreadsheet"></div>
<script>
    $("#spreadsheet").kendoSpreadsheet({
        sheets: [{ name: "Sheet1" }, { name: "Sheet2" }]
    });
    var sheets = $("#spreadsheet").data("kendoSpreadsheet").sheets();
    $("#spreadsheet").data("kendoSpreadsheet").activeSheet(sheets[1]);
</script>
In this article
Not finding the help you need? Improve this article