We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! Please tell me is it possible to write the title not in a row but in a column? What method should I use for this?
The text was updated successfully, but these errors were encountered:
I don't understand what you mean. There are many ways to set titles. For example, this one (example from documentation):
$head = ['Date', 'Name', 'Amount']; $data = [ ['2003-12-31', 'James', '220'], ['2003-8-23', 'Mike', '153.5'], ['2003-06-01', 'John', '34.12'], ]; $headStyle = [ 'font' => [ 'style' => 'bold' ], 'text-align' => 'center', 'vertical-align' => 'center', 'border' => 'thin', 'height' => 24, ]; $excel = Excel::create(['Sheet1']); $sheet = $excel->sheet(); // Write the head row (sets style via array) $sheet->writeHeader($head, $headStyle); // The same result with new fluent interface $sheet->writeHeader($head) ->applyFontStyleBold() ->applyTextAlign('center', 'center') ->applyBorder(Style::BORDER_STYLE_THIN) ->applyRowHeight(24);
Sorry, something went wrong.
No branches or pull requests
Hello! Please tell me is it possible to write the title not in a row but in a column? What method should I use for this?
The text was updated successfully, but these errors were encountered: