gpt4 book ai didi

ag-grid - ag-grid是否支持列虚拟化?

转载 作者:行者123 更新时间:2023-12-02 14:49:52 34 4
gpt4 key购买 nike

这在列很多且大部分不在可视区域的场景中尤为重要。

最佳答案

是的,如 documentation 中所述,

By default the grid uses virtualisation; a technique whereby the grid draws columns and rows as the user scrolls.

但是,如果您希望禁用列虚拟化,您可以选择将 suppressColumnVirtualisation 输入属性设置为 true。您可以引用 here 上的列/行属性.

可能有 2 种情况您可能希望禁用列虚拟化。

1) Auto-sizing所有列。这将确保调整所有列的大小,而不仅仅是屏幕上呈现的列。

2) 支持 a11y。这是为了防止键盘导航和屏幕阅读器出现任何潜在问题。

关于ag-grid - ag-grid是否支持列虚拟化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56350832/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com