Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular Material - Data table with multiple sort

I have a requirement for a datatable to be sorted by one column, then by second column. Is there something in Angular Material that supports that? Any help will be highly appreciated.

like image 969
Vin Avatar asked May 02 '26 08:05

Vin


1 Answers

Since 2020 there is a community addon with MIT-license available that can do multi-sort with mat-table, in a similar way as the DevExpress component mentioned here in the answer.

https://github.com/Maxl94/ngx-multi-sort-table

like image 61
minni Avatar answered May 05 '26 08:05

minni



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!