Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[studio] Support persistent datagrid state #3747

Open
Janpot opened this issue Jul 2, 2024 · 0 comments
Open

[studio] Support persistent datagrid state #3747

Janpot opened this issue Jul 2, 2024 · 0 comments
Labels
new feature New feature or request scope: toolpad-studio Abbreviated to "studio"

Comments

@Janpot
Copy link
Member

Janpot commented Jul 2, 2024

Summary

Support persisting the data grid state for the end user. This could include column visibility, pinned columns, filters, sorting model,...

The grid should have an option to enable saving/retrieving its state. Consider making each of these features separately configurable.

We can use a combination of page name and component name as a key in local storage.

Examples

See https://mui.com/x/react-data-grid/state/#save-and-restore-the-state-from-external-storage

Motivation

cc @dillonBarendt

Search keywords: save state grid

@Janpot Janpot added new feature New feature or request scope: toolpad-studio Abbreviated to "studio" labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request scope: toolpad-studio Abbreviated to "studio"
Projects
None yet
Development

No branches or pull requests

1 participant