Skip to content

How can I collapse automatically specific rows of IgxTreeGrid? #10709

@luiscla27

Description

@luiscla27

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions