Is it possible to open and close or to show and hide custom floating filters in ag-grid, for example if a button was clicked?
If you initialize the table, only the header should be visible. Then after a specific button was clicked, also the floating filters below the header should be visible.
Asked
Active
Viewed 2,157 times
0

JohnDizzle
- 1,268
- 3
- 24
- 51
1 Answers
2
Try this:
gridOptions.floatingFilter = !gridOptions.floatingFilter;
gridOptions.api.refreshHeader();

Jaffakex
- 498
- 1
- 5
- 16