gregnb / gregnb/mui-datatables
How can I provide different sorting order for the filterlists in different Filters
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
I would like to sorting items of different Filters in different manner.
## Expected Behavior
If I have enabled filters for two columns, I would like to sort the filter list for one column and leave the other filter list unordered.
As we have **filterOptions** at column level, it will be better if the **sortFilterList** is also at column level
## Current Behavior
Currently we could able to only turn ON/OFF the filter items sorting for all the filters using **sortFilterList** option.
## Your Environment
| Tech | Version |
|--------------|---------|
| MUI-datatables | 2.13.2 |
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how the existing sortFilterList option is applied to all filters and how column-level filterOptions are handled. Done means each filter can independently enable or disable sorting while preserving the current global behavior where appropriate; verify the behavior for two columns with different sorting settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100