angular / angular/components

Treegrid in 18.2

Đang mở
#29,613 15 bình luận 4 reaction 0 người được giao Xem trên GitHub
area: cdk/tree P3
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ả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Đọc ngữ cảnh ngừng hỗ trợ của FlatTreeControl, MatTreeFlatDataSource và MatTreeFlattener, cùng với ví dụ treegrid được liên kết từ issue #15187. Xác nhận liệu Angular Material có phương án thay thế được hỗ trợ hay không, hoặc ghi lại hướng treegrid được khuyến nghị; hoàn tất nghĩa là cách tiếp cận được hỗ trợ đã rõ ràng.

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ài liệu
Độ 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.