誰かがこの問題を見ることができますか?DIVスクロールが1つのテーブルで動作していますが、別のテーブルでは動作していません
スクロールバーには、同じCSSとHTMLファイルが存在する別のテーブルが表示されていない1つのテーブルが表示されています。トップ表スクロールバーの
が表示されていないが、下の表のためにそれは
<div class="wrapper">
<table class="professional">
<tbody>
<tr>
<th class="tableheader" ng-repeat="list in cellularIPAddressValue">{{list.deviceType}}
</th>
</tr>
<tr>
<td class="features" ng-repeat="list in cellularIPAddressValue">{{list.instanceId}}
</td>
</tr>
<tr>
<td class="features" ng-repeat="list in cellularIPAddressValue">{{list.firmwareVersion}}
</td>
</tr>
<tr>
<td class="features" ng-repeat="list in cellularIPAddressValue">{{list.manufacturer}}
</td>
</tr>
<tr>
<td class="features" ng-repeat="list in cellularIPAddressValue">{{list.model}}
</td>
</tr>
<tr>
<td class="features" ng-repeat="list in cellularIPAddressValue">
{{list.troubles[0].description}}
<p ng-show="list.troubles[0]">Failure On {{list.troubles[0].date}}
</p>
</td>
</tr>
</tbody>
</table>
</div>
スクロールを示す
<div class="wrapper">
<table class="professional">
<tbody>
<tr>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Account Number</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0" >First Name</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Last Name</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Status</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Services</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Suspend Status</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Phone Number</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">Activation Code</th>
<th class="tableheader" ng-show="accountInfo.accountId > 0">SSO ID</th>
</tr>
<tr>
<td class="features" >{{accountInfo.accountId}}</td>
<td class="features" >{{accountInfo.firstName}}</td>
<td class="features" >{{accountInfo.lastName}}</td>
<td class="features" >{{accountInfo.status}}</td>
<td class="features" >{{accountInfo.group}}</td>
<td class="features" >{{accountInfo.suspended}}</td>
<td class="features" >{{accountInfo.homePhone}}</td>
<td class="features" >{{accountInfo.activationCode}}</td>
<td class="features" >{{accountInfo.guid}}</td>
</tr>
</tbody>
</table>
</div>
HTMLテーブルを見せています
CSS:
.wrapper {
overflow: scroll;
width: 1350px;
white-space: nowrap;
padding-bottom: 10px;
padding-top: 10px;
}
.professional .title {
padding-top: 10px;
background: #2980b9;
}
.professional .tableheader, .professional .pt-footer {
background: #2980b9;
}
.professional .tableheader:after {
border-top-color: #2980b9;
}
.professional .pt-footer:after {
border-top-color: #FFFFFF;
}
を縮小することなく、同じデータをスクロールバーで、今よさそうだ、それは最初のテーブルと思われますスクロールするのに十分なデータがありません。 –
最初のテーブルを見れば同じページ内でヘッダーが縮小されている場合は十分なデータを持っています – Batman