SetDisplayGridlines
function SetDisplayGridlines(isDisplayed: boolean = null): void
Description
Specifies whether the current sheet gridlines must be displayed or not.
Parameters
- isDisplayed
boolean
null Specifies whether the current sheet gridlines 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 gridlines");
oWorksheet.SetDisplayGridlines(false);