0
I have had some problems, because I don’t know Angular 6 well. I have this table:
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Código</th>
<th>Nome</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let operator of dataSource">
<td>{{ operator.operatorId }}</td>
<td>{{ operator.name }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<button type="submit" class="btn btn-primary pull-right" >Atualizar</button>
</div>
<div class="col-md-6">
<button type="submit" class="btn btn-primary" >Deletar</button>
</div>
</div>
I need to edit it, to be able to give an Update(Put or Patch). How do I? I would like to not use jquery, because I am inside Angular.
Hello Marcelo, you need to edit which way? fields? html structure? from what I understand you need help to create the Update function in angular, can give more information?
– Hebert Lima