Hi everybody !
I met difficulties to save my layouts in the local storage.
My project use the (so magic !) dash-responsive-grid-layout ( https://github.com/AlgorithmHub/dash-responsive-grid-layout/blob/master/README.md ) adapted from the react-grid-layout ( https://github.com/AlgorithmHub/dash-responsive-grid-layout/blob/master/README.md )
So I got a grid which contain some graphs resizeable and draggable.
What I want now, is to save in the local storage the last positions and sizes of my layouts in the grid.
I think I have to implement the “onLayoutChange” props, and probably use the dcc.Store but I have no idea how to use this tools and where in this special case of grid.
If someone already do it or have the knowledge, I’ll look for your advices.
There is an example in ReactJs of what i’m looking for:
here is the demo:
here the code:
But still blocked with the equivalent in Dash.