Skip to content

[Bug] 列表分组时,如果列数过多(50以上),此时在更新表格数据时,会非常卡顿,800条数据,加载了10S+,而且开启关闭也很卡,分组时的渲染逻辑有点问题,感觉是把分组的行数都加载出来了,导致渲染东西太多,我看源码,分组时和普通的渲染逻辑不一样,优化成只渲染当前展示的行列感觉会更好 #5183

Description

@chen18236816953

Version

e.g.1.26.1

Link to Minimal Reproduction

https://visactor.io/vtable/demo/table-type/list-table-group

Steps to Reproduce

1.数据 1000行,100列
2. 初始表格为空,后边将data注入
3. 可以变化分组的配置
4. 使用updateOptions更新表格配置

Current Behavior

分组渲染卡顿
分组配置变化后,目前只能通过updateOptions函数更新配置,造成很多不必要的更新

Expected Behavior

优化分组和数据更新逻辑

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions