Table defaultExpandAllRows doesn't always expand all rows
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
- Create a table
- set
childrenColumnNameto something other than the default value - set
expandable={{ defaultExpandAllRows: true }}
What is expected?
All rows are expanded, like when using children as the childrenColumnName
What is actually happening?
Only the first level of rows is expanded
| Environment | Info |
|---|---|
| antd | 4.0.0 |
| React | 16.12.0 |
| System | Mac |
| Browser | Chrome |
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
defaultExpandAllRows antd table react with fetch not working
Your problem is because your dataJSON is empty in the first render, so antd doesn't recognize which rows should be expanded in the...
Read more >Ant Design Expandable Table Row | Nested Table in ReactJS
reactjs #antd # table In this video tutorial I have explained how to use Ant Design Expandable Table Row to make Table Row...
Read more >Components / CvDataTable - slotted expanding data ... - Vue
The data table component does not listen to slotted cell components. ... all rows' },; expandAllAriaLabel: { type: String, default: 'Expand all rows'...
Read more >Pivot Table: Expand/collapse all rows using keyboard shortcut
You can use a combination of your keyboard and mouse to accomplish it. To expand, press Shift and scroll UP with the mouse...
Read more >Table - Ant Design
A table displays rows of data. ... Use rowSelection.selections custom selections, default no select dropdown, show default selections via setting to true ....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
not working even after fix. I did <Table childrenColumnName=“children” expandable={{ defaultExpandAllRows: true }} /> but all rows are not expanded at all.
This comment helped me solve the problem https://github.com/ant-design/ant-design/issues/11615#issuecomment-722747602