This is my html code:
<table style='border-collapse: collapse; width: 100%; font-size: 14px; text-align: center;'>
<tr>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>序号</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>项目</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>12月批数</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>12月日批数</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>1月批数</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>1月日批数</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>按月验证改善</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>按日验证改善</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>验证结果</th>
<th style='border: 1px solid #000; background-color: #ffd966; padding:6px;'>主要对策部门</th>
</tr>
<tr>
<td style='border: 1px solid #000; padding:6px;'>1</td>
<td style='border: 1px solid #000; padding:6px;'>胚胎+成品胎</td>
<td style='border: 1px solid #000; padding:6px;'>21</td>
<td style='border: 1px solid #000; padding:6px;'>0.68</td>
<td style='border: 1px solid #000; padding:6px;'>21</td>
<td style='border: 1px solid #000; padding:6px;'>0.68</td>
<td style='border: 1px solid #000; padding:6px;'>28.6</td>
<td style='border: 1px solid #000; padding:6px;'>53.3%</td>
<td style='border: 1px solid #000; padding:6px; color:red; font-weight:bold;'>无改善</td>
<td style='border: 1px solid #000; padding:6px;'>半钢制造部</td>
</tr>
<tr>
<td colspan='10' style='font-size:12px; border: 1px solid #000; padding:6px;'>
Test
</td>
</tr>
</table>
,I put it in the server, output it as a string, and then bind it to the htmltextarea component of the mashup page. Why doesn't the last line work across columns?
Solved! Go to Solution.
colspan is not a supported attribute in htmltextarea widget.
https://www.ptc.com/en/support/article/CS322825
colspan is not a supported attribute in htmltextarea widget.
https://www.ptc.com/en/support/article/CS322825
thank you!
Is there a solution?
Maybe create a second table with only one column just below the other one?