Skip to content

feat(cdk/tree): expose getDescendants method of CdkTree just like the deprecated TreeControl class #29609

Open
@exequiel09

Description

@exequiel09

Feature Description

Before v18.2, TreeControl was used to control the whole tree and it exposes the getDescendants publicly. After v18.2, the getDescendants was migrated to CdkTree (source) but it was made private. Hence, all code that depends on getDescendants function will break and have no migration path for TreeControl users.

Use Case

Allows developers to get all children and grandchildren without writing his own code or duplicating unnecessary code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/treefeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions