filter a single column material table
private fieldListener() {
this.statusFilter.valueChanges
.subscribe(
status => {
this.filterValues.status = status;
this.dataSource.filter = JSON.stringify(this.filterValues);
}
)
this.sourceFilter.valueChanges
.subscribe(
source => {
this.filterValues.source = source;
this.dataSource.filter = JSON.stringify(this.filterValues);
}
)
}