You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a dashboard with widgets where inside the grid layout I am only storing Ids for the related widgets (not the content). Later When loading the page I prepopulate the html with the ids in the page.
At the end I bind the layout retreveived from the databased to the html .
But the layout is not rendered as stored in the database .
The x co-ordinates of the 2 widgets are different but not reflected in the layout
* fixgridstack#1693
* broke in 4.x. load() now correctly works again (batch mode saving initial values multiple times)
* added unit test and demo as well, so this shouldn't happen again.
I am trying to build a dashboard with widgets where inside the grid layout I am only storing Ids for the related widgets (not the content). Later When loading the page I prepopulate the html with the ids in the page.
At the end I bind the layout retreveived from the databased to the html .
But the layout is not rendered as stored in the database .
The x co-ordinates of the 2 widgets are different but not reflected in the layout
sample :
https://jsfiddle.net/f05b817u/
Expected behavior
Should render layout as described in json layout file.
Actual behavior
Generates radnom layout
slack discussion here :
https://gridstackjs.slack.com/archives/C0LPPLXJR/p1616872260059300
related issue #1683
The text was updated successfully, but these errors were encountered: