Trying to sort this table but nothing happens when I click sort.
If I move *ngFor into the tr tag, the data disappears when I click sort.
Here's the table I'm using: https://l-lin.github.io/angular-datatables/#/basic/zero-config
<div class="container">
<div class="row">
<div class="col-lg-5">
<h4>Driver's List</h4>
<table datatable id="driverTable" class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">Name</th>
<th scope="col">Distance</th>
<th scope="col">Time</th>
<th scope="col">View Info</th>
</tr>
</thead>
<tbody *ngFor="let driver of googleDrivers">
<tr>
<td>{{driver.Name}}</td>
<td>{{driver.Distance}}</td>
<td>{{driver.Duration}}</td>
<td>Some button</td>
</tr>
</tbody>
</table>
</div>
<div class="col-lg-6">
<h4>Directions:</h4>
<div #map id="gmap" class="img-responsive"></div>
</div>
</div>
</div>