FreezeColumns

function FreezeColumns(count: Number = 0): void

Description

Freezes the first column or columns of the current worksheet.

Parameters

countNumberdefault: 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);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).