<table id="payInvoicesTable" ng-show="payInvoices" class="table table-bordered table-hover table-list"> <thead data-search:table-header data-table="payInvoicesTable" data-search="search()"> </thead> <tbody> <tr ng-repeat="result in payInvoices" ng-form="payInvoicesRow"> <td> <input type="checkbox" ng-model="result.isToBePaid" data-no:dirty-check ng-change="payChange(result)" /> </td> <td> <a href="javascript:void(0);"><span ng-click="drillDown(result.invoice_No)">{{result.invoice_No}}</span></a> </td> <td> {{result.descrip}} </td> <td> {{result.dateCreated |date: 'medium'}} </td> <td> <span ng-class="{'negative-amount' : result.invoiceBalance < 0}">{{result.invoiceBalance | currency}}</span> </td> <td> <input type="number" name="payment" ng-model="result.payment" id="payment" ng-disabled="!result.isToBePaid" ng-class="{'negative-amount' : result.payment < 0}" min="0" data-no:dirty-check data-sm:number placeholder=" 000.00" data-sm:number-format data-accuracy="2" /> <div class="field-validation-error"> <span ng-show="payInvoicesRow.payment.$error.min">Payment should not be negative.</span> </div> </td> </tr> </tbody> <tfoot> <tr> <td class="col-md-1"></td> <td class="col-md-2"></td> <td class="col-md-3"></td> <td class="col-md-3">@String.Format(Labels.totalX, ":")</td> <td class="col-md-1"><span ng-class="{'negative-amount': total('invoiceBalance') < 0}">{{total('invoiceBalance')|currency}}</span></td> <td class="col-md-2">{{total('payment')|currency}}</td> </tr> </tfoot> </table>I only define size in the footer now. Doesn't look like it works although same approach (also width in the footer) seems to help in another page.
<tr style='-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;'> <th ng-repeat="column in table.columns" ng-click="sort(column)"> {{column.displayName == undefined || column.displayName == ''?column.name:column.displayName}} <span class="pull-right" href="#" ng-show="column.name === table.sort"> <i ng-class="{'icon-chevron-down': table.dir === 'asc', 'icon-chevron-up': table.dir === 'desc'}"></i> </span> </th> </tr>If you look closer, you'll see, that span is inside the th element and not the tr or thead.