Treegrid in 18.2
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
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!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Leggi il contesto della deprecazione di FlatTreeControl, MatTreeFlatDataSource e MatTreeFlattener, insieme all'esempio treegrid collegato da issue #15187. Conferma se Angular Material dispone di una sostituzione supportata oppure documenta il percorso treegrid consigliato; il lavoro è completato quando l'approccio supportato è chiaro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Documentazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100