Skip to content

Mat Tree ExpandAll doesn't work #12170

@lemoinet

Description

@lemoinet

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Collapse All/Expand All on Nested Tree Control

What is the current behavior?

The expandAll() in nested-tree-control.ts function doesn't work. this.dataNodes is undefined

What are the steps to reproduce?

https://angular-7dvgw3.stackblitz.io

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular/material 6.3.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/tree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions