I am trying to have my own custom filter on ag-grid angular.
Apart from Apply
button, I also want to have other buttons for the filter. i.e. if I can explain this in some sort of UI,
|--Custom Filter-------------------.
| Filter Text: _____________ |
| Apply
| Clear
| Clear All
|
|_______________________|
By using default filter component of ag-grid
, I know that I can have two buttons I need if I provide filterParams
in ColDef
.
filterParams: {
applyButton: true,
clearButton: true
}
But what about the other custom (Clear All
) button? Is there any way I can achieve it?