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

expandIcon props is not rendering without children key in Table Component #21152

Closed
vatsal-noovosoft opened this issue Jan 30, 2020 · 1 comment
Labels

Comments

@vatsal-noovosoft
Copy link

vatsal-noovosoft commented Jan 30, 2020

I am trying to move to ant design v4 but it seems that Table component expandIcon behaviour is changed. It is not rendering without specifying children key attribute in the dataSource of Table Component to display Tree data. whereas in the stable version it works well without specifying children key in the table.

Here is the comparison:

  1. Antd next v4 beta
    Antd Next (Not working without specifying children key in the dataSource)
    https://codesandbox.io/s/eloquent-murdock-r2x2x

  2. Antd next v4 beta
    Antd Next (Working when specifying children key in the dataSource)
    https://codesandbox.io/s/dazzling-chaum-pdu7k

  3. Stable version v3
    Antd latest** (Working
    https://codesandbox.io/s/icy-bird-kqivz

@ant-design-bot
Copy link
Contributor

Hello @vatsal-noovosoft, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @vatsal-noovosoft,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

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

No branches or pull requests

2 participants