gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

Cannot set property '_grid' of undefined

Open LaxmanTelang opened this issue 6 years ago • 1 comments

I am using gridstack 1.0.0 version and the Jquery 1.11.1. When I drag and drop the wiget it is loaded properly but when i resise the same widget and try to drag a new widget Iam getting the error as folows: **Uncaught TypeError: Cannot set property '_grid' of undefined at HTMLDivElement. (gridstack.js:933) at HTMLDivElement.dispatch (jquery-1.11.1.min.js:3) at HTMLDivElement.r.handle (jquery-1.11.1.min.js:3) at Object.trigger (jquery-1.11.1.min.js:3) at HTMLDivElement. (jquery-1.11.1.min.js:3) gridsatck

at Function.each (jquery-1.11.1.min.js:2)
at m.fn.init.each (jquery-1.11.1.min.js:2)
at m.fn.init.trigger (jquery-1.11.1.min.js:3)
at t.<computed>.<computed>._trigger (jquery-ui.min.js:6)
at t.<computed>.<computed>._drop (jquery-ui.min.js:7)**

LaxmanTelang avatar Feb 13 '20 08:02 LaxmanTelang

there is no gridstack 1.0.0 (yet) so I don't know what code/version you are using. Please make a test case showing the issue - see https://jsfiddle.net/adumesny/jqhkry7g as starting point, and re-open if you can reproduce in latest code. thanks!

adumesny avatar Feb 13 '20 16:02 adumesny