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

👑 [需求]ProTable增加tableRef用来获取antd Table ref #8730

Open
ay233 opened this issue Sep 17, 2024 · 3 comments
Open

👑 [需求]ProTable增加tableRef用来获取antd Table ref #8730

ay233 opened this issue Sep 17, 2024 · 3 comments

Comments

@ay233
Copy link

ay233 commented Sep 17, 2024

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🔩 所属模块或组件

率属组件:ProTable

🥰 需求描述

protable增加tableRef用来指定table的ref

⛰ 功能需求适用场景

目前虚拟滚动,切换分页,无法将滚动条滚动至顶部

🧐 解决方案

Table传入ref={tableRef}即可,目录:packages/table/src/Table.tsx

🚑 其他信息

Copy link

以下的 Issues 可能会帮助到你 / The following issues may help you

@jinxiangqiang
Copy link

我也有相同的需求,现在ref无法获取

@pk111and222
Copy link

同,没法使用scrollto事件

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

No branches or pull requests

3 participants