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