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 using .printhtml() method on a table, it doesnt work correctly for titles.
It inserts <td> elements into <th> elements, treating <th> as <tr> and <td> as <th>.
Current solution around this is to treat table headers as just a row as those seem to get printed just fine.
Description
When using .printhtml() method on a table, it doesnt work correctly for titles.
It inserts
<td>
elements into<th>
elements, treating<th>
as<tr>
and<td>
as<th>
.Current solution around this is to treat table headers as just a row as those seem to get printed just fine.
Example snippet:
it renders the below table as such in HTML:
The correct way for table headers would be:
Chrome based browsers try their best to render this and they somehow get it, but it is skewed because of the empty
<th>
element:The text was updated successfully, but these errors were encountered: