[英]How to draw table as vertical using Jquery?
我需要垂直繪制表格,因為所有標題都將作為行的左側而不是頂部。 有沒有這樣的模板來繪制表格?
您可以將<th>
用作第一個單元格:
<table>
<tr>
<th>Header</th>
<td>Row content</td>
<td>Row content</td>
</tr>
<tr>
<th>Header</th>
<td>Row content</td>
<td>Row content</td>
</tr>
<tr>
<th>Header</th>
<td>Row content</td>
<td>Row content</td>
</tr>
</table>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.