You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When use colspan in headers and setColumnMaxWidth on first of spanned column the header will be wrapped.
How to reproduce
<?php// ...$table = newTable($output);
$table
->setHeaders([newTableCell('Column 1 spanned', ['colspan' => 2]), 'Column 2', 'Column 3'])
->setColumnMaxWidth(0, 1)
->setRows([
['', '99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'],
['', '9971-5-0210-0', 'A Tale of Two Cities', 'Charles Dickens'],
['*', '960-425-059-0', 'The Lord of the Rings', 'J. R. R. Tolkien'],
]);
$table->setHeaderTitle('Testing');
$table->render();
Possible Solution
I will provide the PR with my suggestions.
Additional Context
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
6.4
Description
When use colspan in headers and setColumnMaxWidth on first of spanned column the header will be wrapped.
How to reproduce
Possible Solution
I will provide the PR with my suggestions.
Additional Context
The text was updated successfully, but these errors were encountered: