user12916796
user12916796

Reputation: 191

How to make group header in a table?

Does anyone have a small example on Angular Material of how to implement a group header as shown in the screenshot?

enter image description here

Upvotes: 0

Views: 1669

Answers (1)

errorau
errorau

Reputation: 2334

Another question about this problem , How colSpan and row Span added to material table Header Angular 7?

This feature name table with irregular headers you can learn more detail about it.

https://www.w3.org/WAI/tutorials/tables/irregular/

This solution will be work on your project

https://stackblitz.com/edit/angular-bklajw-jgvsiq?file=app%2Ftable-basic-example.ts

Finally web site exampe here : )

https://github.com/hxling/ng-xui/tree/master/src/app/Demos/Datagrid/header-group

Upvotes: 1

Related Questions