Skip to content

Treegrid in 18.2 #29613

Open
Open
@apollisa

Description

@apollisa

Hello,

Since 18.2, FlatTreeControl, MatTreeFlatDataSource and MatTreeFlattener are deprecated, and I was relying on them to create a treegrid, as suggested by @andrewseguin in #15187 (comment):

You should be able to do this using the table currently, and to make it easier you can use the TreeControl to help you traverse your data and manage expansion state
https://stackblitz.com/edit/angular-m77g7e-semvxp?file=app%2Ftable-basic-example.html

So I was wondering if there was a new recommended way of creating a treegrid, or if I needed to reimplement those deprecated classes. 🤔

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/tree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions