How to format cells #154
Unanswered
robertosanval
asked this question in
Q&A
Replies: 1 comment
-
I recently had this issue and believe this is how it ought to be done in the context of this Spatie package: $row = (new Row([
Cell::fromValue('Regular Cell'),
Cell::fromValue('Styled Cell', (new Style)->setFormat('[hh]:mm:ss'))
]));
$writer->addRow($row); Hope that helps you or someone in the future |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need help finding how to format cells or a whole column as Number or DateTime.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions