Skip to content

docs-bug(mat-tree): Examples still use deprecated symbols #31524

Open
@moniuch

Description

@moniuch

Documentation Feedback

It'd be awesome to modernize the MatTree examples as they still mention deprecated parts. Should anyone choose to paste code into latest Angular, they'd face a lot of crossed out symbols, such as: FlatTreeControl, NestedTreeControl, MatTreeFlattener, MatTreeFlatDataSource.

It'd be good to also showcase some more advanced scenarios:

  • editable/sortable tree
  • tree with checkboxes
  • renderNodeChanges, activation (output)
  • displaying additional data as meta column (to the right-had side)

Affected documentation page

https://material.angular.dev/components/tree/examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis issue is related to documentationneeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions