Hello everyone! I am currently working on ensuring that all the columns in my table have equal width, except for the update and delete columns which should remain as they are. I'm utilizing Bootstrap 4.5.2 for this task.
Below is the code snippet of my Bootstrap table:
<table class="table table-bordered table-responsive-sm table-hover">
<thead>
<tr>
<th>Date</th>
<th>TimeSlot</th>
<th>Room</th>
<th>Attendees</th>
<th>update</th>
<th>delete</th>
</tr>
</thead>
<tbody>
<tr class="table">
<td class="table">Date</td>
<td class="table">Time</td>
<td class="table">Room</td>
<td class="table">invitee</td>
<td class="table" style="display: none">reservationid</td>
<td class="table" style="display: none">invitedby</td>
<td class="table" style="display: none">workspace</td>
<td class="table">
<a onclick="onUpdate()" style="color: #007bff; cursor: pointer"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
</td>
<td class="table">
<a onclick="onDelete()" style="color: #007bff; cursor: pointer"> <i class="fa fa-trash" aria-hidden="true"></i></a> </td>
</tr>
</tbody>
}
</table>
Check out how this Bootstrap table appears in your browser by clicking here.