I'm using react-grid-layout to create scheduller :
I would like to know if this is possible to save the layout into a mysql database and restore it ?
My idea is to store the information in local storage and to transfer the local storage content to MySQL...
https://strml.github.io/react-grid-layout/examples/7-localstorage.html
I hope that's possible, because we spend a lot of time to get this result.
Get the current layout using the
onLayoutChange
event and save its output into a database as aVARCHAR
.Yes, it is possible.
Source