Gridlines when printing
I think that right function to show/hide grid lines when printing is `setPrintGridlines()` and not `setShowGridlines()` as said in docs.
This commit is contained in:
parent
cd84020693
commit
206728c775
|
|
@ -475,7 +475,7 @@ $spreadsheet->getActiveSheet()->setBreak('D10', \PhpOffice\PhpSpreadsheet\Worksh
|
||||||
To show/hide gridlines when printing, use the following code:
|
To show/hide gridlines when printing, use the following code:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$spreadsheet->getActiveSheet()->setShowGridlines(true);
|
$spreadsheet->getActiveSheet()->setPrintGridlines(true);
|
||||||
```
|
```
|
||||||
|
|
||||||
### Setting rows/columns to repeat at top/left
|
### Setting rows/columns to repeat at top/left
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue