Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

table的virtual下如何实现滚动到底的回调事件? #44839

Open
qingfengmy opened this issue Sep 13, 2023 · 3 comments
Open

table的virtual下如何实现滚动到底的回调事件? #44839

qingfengmy opened this issue Sep 13, 2023 · 3 comments

Comments

@qingfengmy
Copy link

What problem does this feature solve?

一般需要virtual的情况是有大量的数据,接口也是一样的,没办法一下全给你,需要分页,滚动加载。那么table是否有滚动到底的监听事件,可以让我们实现这个需求。
刚进来的时候是50条,到底加载另外50条,和之前的50条,合成100条,因为有virtual了,所以没毕业每页展示50条了。

What does the proposed API look like?

onLoadMore
loadingMore
hasNext

和通用的到底加载更多api一样

@ohhoney1
Copy link
Contributor

你这个需求可以简单地通过 react-infinite-scroll-component 来实现,比如结合:ProList 这个一起

@bitbw
Copy link

bitbw commented Jan 17, 2024

我也需要这个功能 ,虚拟滚动加滚动加载很有必要

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 10, 2024

So, can this issue be safely closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants