Components: Material Table Header design with rowspan and colspan

Created on 1 Dec 2017  路  8Comments  路  Source: angular/components

Is it possible to add rowspan and colspan in the material table further? It is a good feature for the end user to understand table data.

image

Most helpful comment

@badrinath389 : Did you get the result you expected?

The referenced issues didn't help me as they show how to make expendable rows.
And colspan/rowspan are not that trivial to use in the case of a mat-table headers.

All 8 comments

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

@badrinath389 : Did you get the result you expected?

The referenced issues didn't help me as they show how to make expendable rows.
And colspan/rowspan are not that trivial to use in the case of a mat-table headers.

@LeoDupont

I am struggling with colspans. Do you have an example?

@brianpilati
Unfortunately not, I'm afraid this use case is not possible with current features...

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

If native HTML logic not works and you consider it as feature, i have a bad news for you.

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

One thing here is true, this actually isn't issue. But this also isn't feature.
To actually achieve needed result, you need to use [attr.colspan] and / or '[attr.rowspan]'

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

3mp3ri0r picture 3mp3ri0r  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

vanor89 picture vanor89  路  3Comments

jelbourn picture jelbourn  路  3Comments

vitaly-t picture vitaly-t  路  3Comments