Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在闪亮rpivotTable的情况下,我怎样才能冻结标题?
rpivotTable
我知道如何在 css 中将滚动条添加到数据透视表,但是我不知道如何冻结标题。
#PivotFinal { overflow-y: scroll; }
我想出了如何做到这一点,在 .css 文件中我添加了以下代码。
table.pvtTable thead th{ position: sticky; position: -webkit-sticky; top: 0; z-index: 999; }