Comments (1)
Hey @mehdi-heidari did you try comparing the values you get from localstorage
with the ones you export from the state?
Do something like this:
const state = apiRef.current.exportState()
- store
state
tolocalStorage
- grab the stored state from
localStorage
- compare both values
It works for me if I use the example code from this docs page.
Could you provide us with a live example of your implementation in codesandbox or stackblitz?
from mui-x.
Related Issues (20)
- [data grid] Why does the cell lose focus on scroll with an Excel style top left corner click HOT 4
- longFormatters is not exported from package date-ins HOT 4
- [TreeView] Should use maps not arrays for selected / expanded HOT 8
- [TreeView] TreeItem label is two levels of specificity instead of one HOT 5
- [TreeView] HTML is not valid HOT 13
- [TreeView] Add the example from the X landing page to the customization doc HOT 4
- [TreeView] Use new DX patterns (hooks and slots) for `TreeItem` customization HOT 1
- Not able to localize date picker for the date filter HOT 6
- Pagination and rows per page not working HOT 2
- [data grid] Flex columns causes column grouping headers to become un-aligned from their columns for some column resizes HOT 1
- [data grid] How do I Export The Save State Item To LocalStorage HOT 4
- [data grid] What if my license key gets exposed to public ? HOT 5
- [data grid] Column reordering drag and drop not working in mobile HOT 6
- [data grid] styling disappears on pinned columns in v7.0.0-beta.5 HOT 8
- [data grid] Horizontal Scrolling with the help of Keyboard in the DataGrid. HOT 6
- [DataGridPro] Row is still editable while save is in progress HOT 3
- [data grid] render custom header for detail toggle column
- [DataGridPro] Column reorder causing crash when DataGridPro is in react-dnd-html5-backend context HOT 1
- [pickers] Week no longer respect `date-fns` `weekStartsOn` option HOT 4
- [question] How to prevent MuiPaper styleOverrides being applied to DataGrid export popper HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.