Skip to content

bug(Table): 虚拟滚动模式下,选中行数据会随着滚动消失 #5561

Answered by ArgoZhang
javazfj asked this question in Q&A
Discussion options

You must be logged in to vote

@javazfj 感谢提交复现示例仓库,代码不要以图片的方式给出。用 github 的 md 格式。图片无法不方便复制粘贴,还会变形。

这个功能目前还没有支持。虚拟滚动为了性能目前几乎没有做任何功能。

比如这个功能,如果要做出来,假设虚拟滚动 10万行数据,为了这个选中,需要内部构造一个缓存,每条数据渲染前都需要进行缓存的比对处理,这本身就是一个巨大的性能消耗。暂时没有做这些相关处理

需要测试评估一下性能后期可能会安排这个功能

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ArgoZhang
Comment options

You must be logged in to vote
1 reply
@ArgoZhang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #5500 on March 07, 2025 02:44.