Skip to content

Cdk Selection #18581

Open
Open
@jelbourn

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/collectionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions