Skip to content

๐Ÿง[้—ฎ้ข˜] ProTable: how to get currently displayed columns?ย #7305

Open
@duck9see

Description

@duck9see

ๆ้—ฎๅ‰ๅ…ˆ็œ‹็œ‹๏ผš
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

๐Ÿง ้—ฎ้ข˜ๆ่ฟฐ

in ProTable(exactly i'm use @ant-design/pro-table, version "2.56.3"),
I want to export only the currently displayed columns.
so how to get currently displayed columns?
Can not use columnsState.onChange() because get the value immediately when component mounted.

๐Ÿ’ป ็คบไพ‹ไปฃ็ 

none

๐Ÿš‘ ๅ…ถไป–ไฟกๆฏ

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions