cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Thingworx htmltextarea

清洛_12937226
3-Newcomer

Thingworx htmltextarea

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?

ACCEPTED SOLUTION

Accepted Solutions

colspan is not a supported attribute in htmltextarea widget.

https://www.ptc.com/en/support/article/CS322825

 

View solution in original post

3 REPLIES 3

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?

Announcements


Top Tags