blob: 200be4e6826a56bd6be9fc77e8995e6a217d1e7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<div class="test-holder">
<h1>Mock data works!</h1>
<nz-table #basicTable [nzData]="tableData">
<thead>
<tr>
<th>Name</th>
<th>Phone</th>
<th>Address</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let data of tableData">
<td>{{data.name}}</td>
<td>{{data.phone}}</td>
<td>{{data.address}}</td>
<td>
<a>Action 一 {{data.name}}</a>
<nz-divider nzType="vertical"></nz-divider>
<a>Delete</a>
</td>
</tr>
</tbody>
</nz-table>
</div>
|