Spread.Sheets Documentation
frozenRowCount Method
The number of rows to freeze.
Gets or sets the number of frozen rows of the sheet.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.frozenRowCount(rowCount);
function frozenRowCount( 
   rowCount : number
) : any;

Parameters

rowCount
The number of rows to freeze.

Return Value

If no value is set, returns the number of frozen rows; otherwise, returns the worksheet.
Example
This example returns the frozen row and column counts.
var ccount = activeSheet.frozenColumnCount();
var rcount = activeSheet.frozenRowCount();
alert(ccount);
alert(rcount);
This example creates a frozen row.
sheet.setRowCount(10);
sheet.setColumnCount(8);
sheet.frozenRowCount(1);
Remarks
The default value is 0.
See Also

Reference

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.