Question
I found that expansionDepth = 0 collapses automatically the whole tree. However, I need to collapse automatically only specific rows due to conditions given by row data.
For example, I would like to collapse the level 0 row only when rowData.collapsed is true, my variable collapsed is previously filled from more complex conditions.
- igniteui-angular version: 13.0.1
- browser: Google Chrome Versión 96.0.4664.45 (Build oficial) (64 bits)
Question
I found that
expansionDepth = 0collapses automatically the whole tree. However, I need to collapse automatically only specific rows due to conditions given by row data.For example, I would like to collapse the level 0 row only when
rowData.collapsedis true, my variablecollapsedis previously filled from more complex conditions.