feat(table): Support drag and drop of rows and columns in same table
- Ngôn ngữ chính
- TypeScript
- Star
- 25k
- Fork
- 6.8k
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
#### 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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Issue đề cập đến bảng của Angular Material và hỏi về việc kết hợp kéo và thả hàng với cột, nhưng không nêu tệp hoặc bài kiểm thử nào. Hãy bắt đầu bằng việc xem xét các điểm đầu vào của bảng và tính năng kéo và thả, sau đó xác định xem cả hai trục có thể hoạt động trong cùng một bảng hay không. Được xem là hoàn tất khi có một cách tiếp cận được ghi lại và kiểm thử, hoặc một giới hạn rõ ràng kèm theo một phương án thay thế được khuyến nghị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100