I find myself in need of assistance again, stack overflow.
Essentially I have a table which uses AngularJS to populate the various rows with data. The length of the said data is something that changes and as such the size of the table headers are constantly changing to fit.
My issue is having a fixed header which stays constant in regards to the size of the table body. It's a table similar to the one shown in the plnkr.
Any ideas would be appreciated including Javascript.
<thead>
<tr>
<th class="statwidth"><span ng-click="setOrderProperty('a')"></span></th>
<th>R<span ng-click="setOrderProperty('b')"></span></th>
<th>S<span ng-click="setOrderProperty('c')" class="glyphicon glyphicon-chevron-down pull-right"></span></th>
<th>D<span ng-click="setOrderProperty('d')" class="glyphicon glyphicon-chevron-down pull-right"></span></th>
<th>O<span ng-click="setOrderProperty('e')" class="glyphicon glyphicon-chevron-down pull-right">
</span></th>
<th>St<span ng-click="setOrderProperty('f')"></span></th>
</tr>
</thead>