【问题标题】:How to add scroll in vertical and horizontal scroll in the table without using any libraries如何在不使用任何库的情况下在表格中的垂直和水平滚动中添加滚动
【发布时间】:2019-02-23 18:55:49
【问题描述】:

我想在没有任何库的情况下在表格主体中添加垂直和水平滚动

【问题讨论】:

标签: javascript angular


【解决方案1】:

只需像这样在 HTML 中的 table 标记中添加这些属性

<table mdbTable mdbTableScroll scrollY="true" scrollX="true">

这些是 Angular Bootstrap 表格滚动的属性,然后您可以定义表格的 maxWidth 和 maxHeight

【讨论】:

    猜你喜欢
    • 2019-12-09
    • 1970-01-01
    • 1970-01-01
    • 2017-06-19
    • 2014-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-13
    相关资源
    最近更新 更多