How can I reset all of the column filters? Calling reset() seems to reset the table but all the fields of the filters remain unchanged.
Asked
Active
Viewed 3,251 times
1 Answers
2
You can bind the input values to the table's filters, like this:
<input type="search" (input)="table.filter($event.target.value, 'FieldName', 'contains')" [value]="table.filters['FieldName']?.value" />
Notice the [value]
binding.

Shlomo Zalman Heigh
- 3,968
- 8
- 41
- 71
-
2Hey @SZH How to do the same for dropdown ? `
-
Did anyone ever figure out how to get this working with a dropdown? – M Akin Dec 04 '19 at 20:19