CalcBASIC+Calc: How to hide grid lines of a sheet?

I love working on white plain sheet.

What is the BASIC code to hide grid lines of a sheet or a specific sheet ?

Property ShowGrid apply for all Sheets

doc = ThisComponent
cc = doc.CurrentController
cc.ShowGrid = False

You can used event sheet “Activate Document” for hide or show.

Hello @mauricio, what is the advantage of making “pieces”, easier all together

ThisComponent.CurrentController.ShowGrid = False

Dear @schiavinatto and @mauricio ,

Thank you so much for your support.