File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {_MatTableDataSource} from '@angular/material/table';
14
14
* sorting (using MatSort), and pagination (using paginator).
15
15
*
16
16
* Allows for sort customization by overriding sortingDataAccessor, which defines how data
17
- * properties are accessed. Also allows for filter customization by overriding filterTermAccessor ,
17
+ * properties are accessed. Also allows for filter customization by overriding filterPredicate ,
18
18
* which defines how row data is converted to a string for filter matching.
19
19
*
20
20
* **Note:** This class is meant to be a simple data source to help you get started. As such
Original file line number Diff line number Diff line change @@ -310,12 +310,12 @@ export class _MatTableDataSource<
310
310
311
311
/**
312
312
* Returns a filtered data array where each filter object contains the filter string within
313
- * the result of the filterTermAccessor function. If no filter is set, returns the data array
313
+ * the result of the filterPredicate function. If no filter is set, returns the data array
314
314
* as provided.
315
315
*/
316
316
_filterData ( data : T [ ] ) {
317
317
// If there is a filter string, filter out data that does not contain it.
318
- // Each data object is converted to a string using the function defined by filterTermAccessor .
318
+ // Each data object is converted to a string using the function defined by filterPredicate .
319
319
// May be overridden for customization.
320
320
this . filteredData =
321
321
this . filter == null || this . filter === ''
@@ -414,7 +414,7 @@ export class _MatTableDataSource<
414
414
* sorting (using MatSort), and pagination (using MatPaginator).
415
415
*
416
416
* Allows for sort customization by overriding sortingDataAccessor, which defines how data
417
- * properties are accessed. Also allows for filter customization by overriding filterTermAccessor ,
417
+ * properties are accessed. Also allows for filter customization by overriding filterPredicate ,
418
418
* which defines how row data is converted to a string for filter matching.
419
419
*
420
420
* **Note:** This class is meant to be a simple data source to help you get started. As such
You can’t perform that action at this time.
0 commit comments