In Angular material official website it is mentioned that filterPredicate: ((data: T, filter: string) => boolean) will filter data based on specific field. But don\'t gettin
You have to override the filterPredicate of your dataSource.
You want to specify what properties in your data the filter is applied to :-
this.dataSource.filterPredicate = function(data, filter: string): boolean {
return data.name.toLowerCase().includes(data.symbol.toLowerCase().includes(filter) || data.position.toString().includes(filter);
};