It's the same as [https://github.com/angular/material2]@angular/material2 but over here we got Multi Column Sorting for mat-table
.
It's the same as [https://github.com/relair/material2]@relair/material2 but over here we are synched to latest []@angular/material2.
See some discussion about MatMultiSort
feature in the Github issue.
- Let's say you have your project in your local folder
/code/myproject
- Open terminal to
/code
git clone https://github.com/hughanderson4/material2.git
cd material2
yarn
gulp material:build-release
cd ../myproject
rm -r -f node_modules/@angular/material
yarn add @angular/material2@../material2/dist/releases/material
- Now edit
angular.json
inmyproject
and setpreserveSymLinks=true
, since you are referencing local material. See StackOverflow post. - Now you can use the features of
MatMultiSort
, it is documented here.