sheetByIndex

Locates a sheet by its index in the workbook.

Parameters

index Number

The index of the sheet to locate.

Returns

kendo.spreadsheet.Sheet - The sheet that matches the index.

Example

<div id="spreadsheet"></div>
<script>
var spreadsheet = $("#spreadsheet").kendoSpreadsheet({
    sheets: [
        { name: "Sheet1" },
        { name: "MyData" },
        { name: "Sheet3" }
    ]
}).data("kendoSpreadsheet");

var sheet = spreadsheet.sheetByIndex(1);
console.log("Sheet at index 1:", sheet.name());
</script>
In this article
sheetByIndex
Not finding the help you need?
Contact Support