我正在使用ng2-smart-table,它有19列,它在仪表板的框架之外。所以我需要对表体应用水平滚动。
我在我的angular 2项目中使用了ng2-smart-table
:host /deep/ table {
width: 1200px !important;
overflow-x: scroll;
}我没有拿到桌子的水平卷轴
发布于 2019-11-26 09:59:54
尝试以下代码:
<div class="col-md-12" style = "overflow-x: scroll;">
<div class="smart-table-container" style = "width: 2000px;">
<ng2-smart-table [settings]="settings" [source]="source"></ng2-smart-table>
</div>
</div>https://stackoverflow.com/questions/55610469
复制相似问题