angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.26k stars 6.7k forks source link

feat(table): Default matColumnDef #21578

Open tamtakoe opened 3 years ago

tamtakoe commented 3 years ago

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

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.