I have moved from Excel & am not very familiar with the libre office equivalents.
Hello,
You can turn on/off gridlines from the menu - View->Grid and Helplines. The actual control of the spacing is done from menu - Tools->Options. Then under LibreOffice Calc->Grid.
Documentation can be found at → Documentation/Publications.
If this answers your question please tick the
(upper left area of answer). It helps others to know there was an accepted answer.