gregnb / gregnb/mui-datatables

ViewColumns - show/hide is over ridden on a Server paginated Table

Open
#1,706 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

On a server paginated table - Once the user interacts with ViewColumns - show/hide and updates the pagination to the next page (or performing sort operations on any column), my server paginated table resets to the original display state (The previous user show/hide interaction from ViewColumns is overridden)

## Expected Behavior
ViewColumns - show/hide should persist on a server paginated table even after a user interacts with table features like sorting or navigating to the next page

## Current Behavior
ViewColumns - show/hide value is lost on a server paginated table

## Steps to Reproduce
1. Server paginated mui-data table
2. set ViewColumns to true from options
3. Interact with ViewColumns show/hide feature from GUI
4. Navigate to next page/sort on any column
5. Notice the show/hide from step-3 is overridden

## Your Environment
| Material-UI | Any |
| MUI-datatables | Any |
| React | Any |
| browser | Any |
| etc | Any |

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.