Skip to content

Material Table Header design with rowspan and colspan #8751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
badrinath389 opened this issue Dec 1, 2017 · 8 comments
Closed

Material Table Header design with rowspan and colspan #8751

badrinath389 opened this issue Dec 1, 2017 · 8 comments

Comments

@badrinath389
Copy link

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

@josephperrott
Copy link
Member

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

@andrewseguin
Copy link
Contributor

Duplicate of #5888 and #8332

@LeoDupont
Copy link

@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.

@brianpilati
Copy link

@LeoDupont

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

@LeoDupont
Copy link

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

@andzejsw
Copy link

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.

@andzejsw
Copy link

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]'

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants