You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/table/table.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ and its interface is not tied to any one specific implementation.
138
138
#### Sorting
139
139
140
140
To add sorting behavior to the table, add the `matSort` directive to the table and add
141
-
`mat-sort-header` to each column header cell that should trigger sorting.
141
+
`mat-sort-header` to each column header cell that should trigger sorting. Note that you have to import `MatSortModule` in order to initialize the `matSort` directive (see [API docs](https://material.angular.io/components/sort/api)).
0 commit comments