Click inside the table to activate the toolbar (like in your screenshot).
Highlight the entire table (drag over all cells or click the top-left corner of the grid).
In the table toolbar that appears above, click the eye icon ποΈ β this toggles the gridlines off.
Once toggled off, the lines will no longer appear in the preview or final PDF.