0
私は角度jを使って1つのテーブルを作成しました。今私は特定のテーブルの行にテーブルの行をスクロールする必要があります。私は$ anchorScrollを試しましたが、それは私のために働いていません。Scroll inside tbody angularjs
<div class="tab-pane fade in active" id="scorecard">
<table class="header-fixed table">
<tbody>
<tr ng-repeat="x in test" ng-class="x == 41 && 'current-user current-user-scroll' || x.show == 0 && 'tng-hide-user' || 'non-current-user'" ng-cloak dashboard-data">
<td class="col-xs-2" >{{ x }}</td>
<td class="col-xs-8">{{ x }}</td>
<td class="col-xs-2">{{ x }}</td>
</tr>
</tbody>
</table>
</div>
私が上記のコードから欲しいのは、テーブルを直接41行目にスクロールする必要があるということです。
ありがとうございます。
'COL-XS-'の代わりに 'table'ので' div'を使用することをお勧めします。なぜあなたはそれを使わないのですか? –
「div」を作成する利点は、「表」を使用するよりも何ですか@ArunGhosh – user15837
http://stackoverflow.com/questions/83073/why-not-use-tables-for-layout-in-html –