frozenRows

Gets or sets the amount of frozen rows displayed by the sheet.

Parameters

count Number optional

The amount of columns to be frozen. Pass 0 to remove the frozen pane.

Returns

Number The current frozen rows. By default, returns 0.

Example

<div id="spreadsheet"></div>
<script type="text/javascript" charset="utf-8">

    $("#spreadsheet").kendoSpreadsheet();

    var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");

    var sheet = spreadsheet.activeSheet();

    sheet.frozenRows(5);
</script>
In this article