gregnb / gregnb/mui-datatables
Contolled Filter display
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 905
- PR merge metrics
- No merged PRs in 30d
Description
I have a big set of data that I expose with a server-side paginated data table. I have set custom filters (filter options are server side) with the column options and an "apply" button to confirm. I would like to close the filters' popover on "apply" click.
Is it possible to control the show/hide state of the filters ?
## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | 4.11.0 |
| MUI-datatables | 3.5.0 |
| React | 16.13.1 |
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the filter popover and its Apply-button handling in the table implementation; the issue does not name a file or test. Determine how show/hide state is currently managed and whether it can be controlled, then add coverage for closing the popover after Apply if the feature is supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100