angular - Colspan 不能在 Angular 6 中工作
问题描述
我有一张如下表:
<table>
<thead>
<tr>
// five columns in the table head
<th colspan="3">ARTICLES</th>
<th colspan="1">CLS/CRT</th>
<th colspan="1">PIECE</th>
<th colspan="1">prix par pièce</th>
<th colspan="2">NOTES</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3">
<input type="text" matInput placeholder="Article" >
</td>
<td colspan="1">
<input placeholder="Montant" type="number">
</td>
<td colspan="1">
<input placeholder="PIECE" type="number">
</td>
<td colspan="1">
<input matInput placeholder="prix par pièce" type="number">
</td>
<td colspan="2">
<input placeholder="Écrivez Une note ici..">
</td>
</tr>
</tbody>
我以前使用 angularJS 创建 web 应用程序,但我是 Angular 6 的新手。我面临上述问题,我无法通过搜索堆栈溢出找到任何对我有帮助的解决方案。
解决方案
推荐阅读
- css - 我可以在 sass 中为一个变量设置多个选项并使用它吗?
- r - 如何跨多个列使用 lapply() 或 ifelse() 以使 Yes == 1 和 else == 0?
- flutter - 无效的 depfile:颤振
- java - Java 8 中默认使用哪种 GC 算法?
- c - 在 C 中使用 BFS 解决迷宫 - 分段错误
- c# - 部署实体框架代码第一个数据库不生成
- python - 有没有办法以特定值打破 range() 函数?
- c# - 使用 PInvoke 包装的 C++ 库的并行调用引发 System.AccessViolationException
- r - 安装 R 包 PearsonDS 给出了意外的令牌错误
- python - Bokeh 2.0 中的简单日期范围滑块