I've got a mat-table with a sorting header so I'm decorating the columns as per the examples:
<ng-container matColumnDef="id">
<mat-header-cell *matHeaderCellDef mat-sort-header> Id </mat-header-cell>
<mat-cell *matCellDef="let row"> {{row.id}} </mat-cell>
</ng-container>
The sorting headers aren't working and it looks like it's how this template is being expanded. Inspecting header elements in the examples (i.e. https://stackblitz.com/edit/angular-material2-issue-sct3gm?file=app%2Fapp.component.ts) I can see that the header should render to div.mat-sort-header-container
but mine are rendering (for column e.g. 'maintainer_name') as:
<mat-header-cell _ngcontent-c3 class="mat-header-cell cdk-column-site_maintainer_name mat-column-site_maintainer_name" mat-sort-header role="columnheader">
I've updated to latest angular cli/core etc but persists. Also copied examples into another component and same (lack of) result.