SetDisplayHeadings

function SetDisplayHeadings(isDisplayed: boolean = null): void

Description

Specifies whether the current sheet row/column headers must be displayed or not.

Parameters

isDisplayedbooleandefault: null

Specifies whether the current sheet row/column headers must be displayed or not. The default value is true.

Returns

void

Try It

var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A2").SetValue("The sheet settings make it display no row/column headers");
oWorksheet.SetDisplayHeadings(false);

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).