Merge pull request #2188 from woytam/patch-1

DOCS: Gridlines when printing
This commit is contained in:
oleibman 2021-06-26 07:56:53 -07:00 committed by GitHub
commit eb0cda1d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ $spreadsheet->getActiveSheet()->setBreak('D10', \PhpOffice\PhpSpreadsheet\Worksh
To show/hide gridlines when printing, use the following code:
```php
$spreadsheet->getActiveSheet()->setShowGridlines(true);
$spreadsheet->getActiveSheet()->setPrintGridlines(true);
```
### Setting rows/columns to repeat at top/left