please help. Is there any way I can exclude the undefined and null from filtering? So, if the cell value is null or undefined it's not being shown when the user types "null" or "undefined" in search input.
Incoming table data:
dataSource: MatTableDataSource
The below method is applied on input:
applyFilter(filterValue: string) {
this.dataSource.filter = filterValue.trim().toLowerCase();
}