The Table property "defaultExpandAll" will expand all columns whose type is "type". However, when the table data is empty initially, this function don't take effect.
I found that, every time you rerender the Table, this "expand all" function don't take effect.
Now data is an empty array. If we fetch data from backend system and fill data array, then rerender the component, the "expand all" function won't take effect.
Description
The Table property "defaultExpandAll" will expand all columns whose type is "type". However, when the table data is empty initially, this function don't take effect.
I found that, every time you rerender the Table, this "expand all" function don't take effect.
Reproduce Steps
Now
data
is an empty array. If we fetch data from backend system and filldata
array, then rerender the component, the "expand all" function won't take effect.Solution
Currently, I use this code to fix this problem.