Changing the table size on button click . Button click belongs to side navigation bar . on click of button , need to change the table width 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>
Any way to add the class and click on button can remove the class kind og things ?