feat(table): Support drag and drop of rows and columns in same table
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Feature Description
Users should be able to drag and drop one or more rows and also drag and drop one or more columns.
Currently it appears that a table can either support drag and drop for rows, or drag and drop for columns, but not both.
If it's not possible to do this with Angular Material's table, is there some other component Angular developers should use?
Do developers need to write a new drag-and-drop?
Even just a blog entry on the topic from Google/Angular that provides some hints/direction would be super-helpful.
#### Use Case
It's a basic need in a spreadsheet, and Angular Material's table would make a great spreadsheet, except for this missing support.
I'm not the first to ask for this. See for example https://stackoverflow.com/questions/66665859/is-it-possible-to-move-rows-and-columns-in-the-same-angular-material-table and https://stackoverflow.com/questions/65000227/angular-material-table-with-rearrange-rows-and-columns-option.
Beitragsleitfaden
Rechercherichtung
Das Issue nennt die Tabelle von Angular Material und fragt nach der Kombination von Drag-and-drop für Zeilen und Spalten, nennt aber keine Dateien oder Tests. Beginne damit, die Einstiegspunkte für Tabelle und Drag-and-drop zu überprüfen, und ermittle dann, ob beide Achsen in einer Tabelle funktionieren können. Als erledigt gilt ein dokumentierter, getesteter Ansatz oder eine klare Einschränkung mit einer empfohlenen Alternative.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100