【发布时间】:2017-02-11 17:55:01
【问题描述】:
我只想根据某些条件 if(colValue == "Id") 隐藏表格中一行的最后一列“Id”。
<thead>
<tr>
<th *ngFor="let colValue of headerRow" [hidden]="colValue == Id">{{colValue}}</th>
</tr>
下面是行列。
没有 |日期 |姓名 |类型 |状态 |余额 |评论 |身份证 |
我不想隐藏但想隐藏。我怎样才能做到这一点?谢谢
【问题讨论】:
标签: angular angular2-template hidden-field