[Table] Multiple footers/headers with different data
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### Bug, feature request, or proposal:
Feature Request
#### What is the expected behavior?
To be able to make a second footer/header in which I can use the same columns but different data for the cells then the other footer/header
#### What is the current behavior?
Currently you can have multiple mat-footer-rows on a table but it has to have matColumnDefs for each one. IE let's say I have a second footer row that I want to go into the same columns that are setup but with different data. The only way I can see to do this is to make a new array of columns, send that into that footerDef and make the matColumnDefs for those.
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-tcdbaj
#### What is the use-case or motivation for changing an existing behavior?
The use case is to have multiple footers or headers that have different data, about that column
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.9, Newest Material, etc
#### Is there anything else we should know?
Guía de contribución
Línea de trabajo
Comienza reproduciendo el comportamiento en el ejemplo de StackBlitz enlazado y leyendo las definiciones de encabezado y pie de tabla de Angular Material involucradas. El trabajo estará terminado cuando varias filas de encabezado o pie puedan reutilizar las mismas columnas proporcionando datos de celda diferentes, y el ejemplo existente demuestre este comportamiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100