I'm using Bootstrap 4.0 alpha (http://v4-alpha.getbootstrap.com/content/tables/)..
I've created a table with 5 columns but the width is automatically configured. I want to set the width percentage per column.
I've tried using class="col-xs-3" in th, as suggested in stackoverflow, without success.
I've found a post about this question. While the title says He uses Bootstrap V4... He's really using bootstrap 3.3.7. (How to specify responsive column width for table in Bootstrap v4)
<table class="table table-striped table-hover table-responsive">
<thead class="thead-inverse">
<tr>
<th>Date</th>
<th>Description</th>
<th>Amount</th>
<th>Comments</th>
<th></th>
</tr>
</thead>
<tbody>
<tr *ngFor="let expense of expenses">
<td>{{expense.datetime | date}}</td>
<td>{{expense.description}}</td>
<td>{{expense.amount | currency:'USD':true}}</td>
<td>{{expense.comment}}</td>
<td></td>
</tr>
</tbody>
</table>