mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(table): fix typo regarding sortChange (#9906)
This commit is contained in:
committed by
Jeremy Elbourn
parent
4b017ba83f
commit
46876d62f8
@@ -161,7 +161,7 @@ accessor is required, then a custom `sortingDataAccessor` function can be set to
|
||||
default data accessor on the `MatTableDataSource`.
|
||||
|
||||
If you are not using the `MatTableDataSource`, but instead implementing custom logic to sort your
|
||||
data, listen to the sort's `(sortChange)` event and re-order your data according to the sort state.
|
||||
data, listen to the sort's `(matSortChange)` event and re-order your data according to the sort state.
|
||||
If you are providing a data array directly to the table, don't forget to call `renderRows()` on the
|
||||
table, since it will not automatically check the array for changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user