0
Angular4 ist auch gegeben * ngFor Tabloda aufgeführt ist. Ich möchte ID-Informationen von eingehenden Daten erhalten. Wie kann ich das machen?Angular erhalten die Daten der ausgewählten Zeile in der Tabelle
<tbody>
<tr *ngFor="let item of empleyoo">
<th scope="row" >{{item.Id}}</th> /*this row data get*/
<td>{{item.name}}</td>
<td>{{item.surname}}</td>
<td>{{item.code}}</td>
<button type="button" class="glyphicon glyphicon-check"></button>
</tr>
<tbody>
Typoskript
public GetId()
{
var id=
}
durch das Problem gelöst ist. –