<table class="table table-bordered table-responsive col-md-11" ng-mouse-wheel-up="myscrollup()" ng-mouse-wheel-down="myscrolldown()" style="width: 95%">
<thead >
<tr context-menu="otherMenuOptions">
<th style="background-color: #00aba9" ng-style="colwidth[$index]" ng-repeat="h in head track by $index" >
<a style="color:#fff" href="#" ng-click="sortType = 'field{{$index}}'; sortReverse = !sortReverse">
{{h}}
<span ng-show="sortType == 'field{{$index}}' && !sortReverse" class="fa fa-angle-down"></span>
<span ng-show="sortType == 'field{{$index}}' && sortReverse" class="fa fa-angle-up"></span>
</a>
</th>
</tr>
</thead>
<tbody >
<tr ng-repeat="i in getNumber(NOR) track by $index | filter : $index>=RSN">
<td > {{$index+1}}</td>
<td> <input ng-style="name[$index]" ng-model="test" type="" value=""> </td>
<td> <input type="text" value=""> </td>
<td> <input type="text" value=""> </td>
<td> <input type="text" value=""> </td>
<td> <input type="text" value=""> </td>
<td> <input type="date" value=""> </td>
</tr>
</tbody>
</table>
和我的职能
$scope.myscrolldown=function(){
$scope.RSN++;
$scope.NOR++;
};
$scope.myscrollup=function(){
$scope.RSN--;
};