gregnb / gregnb/mui-datatables
ViewColumns reset after sorting by column with display false and serverSide on
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
## Expected Behavior
When serverSide option is true and a column with `display: false`, after select this column on View Columns and sort it, the column should stay on table.
## Current Behavior
After show the hidden column on View Columns option and sort it, the columns are reset for all columns that have initially with `display: true`
## Steps to Reproduce (for bugs)
1. Access code on https://d98kr.sse.codesandbox.io/#serverside-sorting
2. Show up column Age
3. Sort by Age
4. Column is removed from table view
## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | 4.11.3 |
| MUI-datatables | 3.7.6 |
| React | 17.0.1 |
| browser | Chrome Version 88.0.4324.182 (Official Build) (x86_64) |
| etc | |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.