ant-design/ant-design

Add back expandIconAsCell={false} in > 4.0

Open

#26,021 opened on Aug 5, 2020

View on GitHub
 (4 comments) (3 reactions) (0 assignees)TypeScript (98,031 stars) (54,612 forks)batch import
Inactivehelp wanted

Description

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

It used to be possible to set expandIconAsCell={false} and have the expand Icon show up in the same cell as other data. This was a much more compressed layout and better when you also are using the table select or have some rows that cannot be expanded.

Maybe it's possible to achieve this via different API, but it's not documented and is a breaking change when upgrading from 3.x

What does the proposed API look like?

Add back expandIconAsCell. Same API as before

Example

3.x

4.x

Contributor guide