Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash-responsive-grid-layout - Layout saved on local storage

$
0
0

@adriphilip wrote:

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 graph resizeable and draggable.

What I want now, is to save in the local storage the last position / size 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.

If someone already do it or have the knowledge, I’ll look for your advices.
Thank you

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles