Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply styles on range on header #4251

Open
yanndeo opened this issue Dec 5, 2024 · 1 comment
Open

apply styles on range on header #4251

yanndeo opened this issue Dec 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@yanndeo
Copy link

yanndeo commented Dec 5, 2024

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)"
@kamil-tekiela
Copy link
Member

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?

@kamil-tekiela kamil-tekiela added the question Further information is requested label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants