DEV Community

Nagarajan R
Nagarajan R

Posted on

Answer: Angular Material distinct mat-sort on multiple tables

After banging my head against the wall for several hours I finally managed to make this work.

Using Angular v.8.2.0.

I am assuming that all required attributes are used and correct (mat-sort, mat-table, [dataSource], matColumnDef, mat-sort-header, etc).

I have a simple component with two…

Top comments (1)

Collapse
 
michaeltharrington profile image
Michael Tharrington

Hey there!

There's nothing wrong with embedding links to StackOverflow Answer/Questions, but I think your post would be more effective if you opened with a little summary of why you found this link particularly helpful. 🙂