Skip to content

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

@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

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/treearea: material/treedocsThis issue is related to documentationhelp wantedThe team would appreciate a PR from the community to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions