Is it possible to adjust the size of the table by clicking a button on the side navigation bar? When the button is clicked, the table width should expand to maximum.
<table init-table="rowCollection" class="table table-striped table-responsive table-hover table-bordered" style="width:auto "overflow-x:auto">
<thead>
<tr class="width">
<th>Id</th>
<th class="col-md-4">Abstract</th>
<th class="col-md-2">RTC Workspace</th>
<th class="col-md-2">Requester</th>
<th>Build Start</th>
<th>Build Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="row in rowcollection">
<td>{{row.build_id}}</td>
<td>{{row.abstract}}</td>
<td>{{row.rtc_workspace}}</td>
<td></td>
<td>{{row.build_start}}</td>
<td>{{row.build_status}}</td>
<td>
<button type="button" class="btn btn-primary" ng-click="approve(row)">Approve</button>
</td>
</tr>
</tbody>
</table>
<!--panel-->
<div class="col-lg-12">
<button type="button" class="btn btn-default btn-primary" ng-click="ShowHide()"> <span class="glyphicon glyphicon-eye-open"></span>  Sidebar toggle</a></button
</div>
Are there any methods to add a class that, when clicked on the button, can remove the class or perform similar actions?