Skip to content

feat(table): Default matColumnDef #21578

Open
@tamtakoe

Description

@tamtakoe

Feature Description

Make it possible to set a template for default cell (if no field matches any template).

It can be <ng-container matColumnDef> or <ng-container matColumnDef="*">

E.g.
https://bootstrap-vue.org/docs/components/table#scoped-field-slots
https://shlomiassaf.github.io/ngrid/concepts/columns/templates (Default (catch-all) template)

Use Case

The most common case if table has most part of cells in the same style but several in other one

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/tablefeatureThis 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