components icon indicating copy to clipboard operation
components copied to clipboard

Treegrid in 18.2

Open apollisa opened this issue 6 months ago • 4 comments

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 https://github.com/angular/components/issues/15187#issuecomment-463715842:

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!

apollisa avatar Aug 20 '24 12:08 apollisa