doc-en
doc-en copied to clipboard
apply styles on range on header
From manual page: https://php.net/book.xlswriter
can't apply styles (background color) on specific range of header issue : it does not apply only on the range boundary.A1:E1. it occupies the whole line outside AA..
$fileObject ->header($this->columns) ->setRow('A1:E1', 20, (new Format($fileObject->getHandle())) ->background(Format::COLOR_BLACK)->toResource() )
- php 7.1
- VERSION="22.04.4 LTS (Jammy Jellyfish)"
Maybe it's just me, but I feel like this issue report isn't very clear. What exactly is wrong with the documentation on that page? What do you think should be amended?
You could report this at https://github.com/viest/php-ext-xlswriter.