Skip to content

Cdk Selection #18581

Description

@jelbourn

Similar to matSort, this would involve creating a directive that captures selection state CdkSelection, directives for per-item toggles e.g. CdkSelectionToggle, as well as integrations specifically for CdkTable. For example, the cdk-table has cdk-text-column as a simple way to add text-only content to a table:

<table mat-table [dataSource]="dataSource">
  <mat-text-column name="employeeId"></mat-text-column>
  ...
</table>

We can do something similar for selection.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/collectionsfeatureLabel used to distinguish feature request from other issues

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions