FreezeRows
function FreezeRows(count: Number = 0): void
Description
Freezes the top row or rows of the current worksheet.
Parameters
- count
Number
0 Optional number of rows to freeze, or zero to unfreeze all rows.
Returns
void
Try It
var oWorksheet = Api.GetActiveSheet();
var oFreezePanes = oWorksheet.GetFreezePanes();
oFreezePanes.FreezeRows(1);