angular / angular/components

CDK Table: `cdk-thead` directive

Đang mở
#12,402 7 bình luận 27 reaction 0 người được giao Xem trên GitHub
area: cdk/table feature needs: discussion 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ả

#### Bug, feature request, or proposal:
Feature Request

#### What is the expected behavior?
CDK Tables - optional exposure of the ``/``/`` in the template via a `cdk-thead`/`cdk-tbody`/`cdk-tfoot` directive.

I would expect the something like the following template to be supported:

``` html


User name
{{row.username}}





```
[Expanded on from the template provided in the overview]

#### What is the current behavior?
The tags are not [documented as?] something that you can place inside the cdk-table template.

#### What are the steps to reproduce?
n/a

#### What is the use-case or motivation for changing an existing behavior?
CDK Tables are awesome for un-opinionated tables, especially given their easy integration with external CSS frameworks like bootstrap. Lack of access easy access to ``/``/`` in the template feels then like something of a gap given what CDK-tables seem to be trying to achieve, and its ability to support a CSS framework that applies classes to these tags.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
n/a

#### Is there anything else we should know?
n/a

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

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

Hướng nghiên cứu

Bắt đầu bằng cách đọc phần triển khai bảng của Angular CDK và các directive hàng và ô hiện có để hiểu cách các phần của bảng được xử lý. Hoàn thành khi các template có thể tùy chọn sử dụng cdk-thead, cdk-tbody và cdk-tfoot bao quanh các hàng liên quan, bao gồm cả thuộc tính và class trên các phần tử đó.

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.