0
最後の列にクリック可能な矢印があるテーブルがあり、その下にネストした表が表示されます。のタグを表示タグとスパン全体の表スペース
<table class="table table-hover table-striped">
<thead>
<tr>
<th>1</th>
<th>2</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr *ngFor="let dData of dDatas;>
<td>{{dData.Name}}</td>
<td>{{dData.Desc}}</td>
<td>
<div (click)="onClick()"><span class="glyphicon" [ngClass]="{'glyphicon-chevron-up': dcData.opendPanel , 'glyphicon-chevron-down': !dcData.opendPanel }"></span></div>
<div [hidden]="!dData.opendPanel">
//another table
</div>
</td>
</tr>
</tbody>
</table>
私の問題は、内部表が最後<td>
に来て、フォーマットが正しくないです。私は内側のテーブルを新しい行に表示し、外側のテーブルの幅にまたがるようにしたい。
これは機能します。乾杯!! – Aruna
あなたは大歓迎です! –