-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Styling rows and header #4
Comments
I will love to work on this :) |
Please! I really need this! |
Oops. Sorry @elminson I did not saw that some fixes were pushed. |
no problem! just take a few minutes to review it :) |
@GregoireSailland Thanks to @elminson work, we added a use Box\Spout\Writer\Style\StyleBuilder;
$style = (new StyleBuilder())
->setFontBold()
->setBackgroundColor(Color::YELLOW)
->build();
(new FastExcel(User::all()))
->headerStyle($style)
->export('my-file.xlsx'); Reference: http://opensource.box.com/spout/docs/#styling-rows |
Nice! Thank you!
|
Available in v0.11.0 |
First step, just two methods:
Something like
styleRows
andstyleHeader
(or mayberowsStyle
andheaderStyle
...)See: http://opensource.box.com/spout/docs/#styling-rows
The text was updated successfully, but these errors were encountered: