获取【列设置】的columns
#7434
-
需求背景:按用户筛选的列及列的顺序来导出表格数据。 所以前端需要把选中的列及列的顺序传给后端,请问怎样能拿到这个数据呢? |
Beta Was this translation helpful? Give feedback.
Answered by
ohspring
Jul 28, 2023
Replies: 1 comment
Answer selected by
ohspring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
解决了,使表格列设置受控。
https://procomponents.ant.design/components/table?tab=api¤t=1&pageSize=5#%E5%8F%97%E6%8E%A7%E7%9A%84%E8%A1%A8%E6%A0%BC%E8%AE%BE%E7%BD%AE%E6%A0%8F