ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.04k stars 1.2k forks source link

draggable doesn't work after destroy? #587

Open eldyvoon opened 7 years ago

eldyvoon commented 7 years ago

I do

gridsterInstance.destroy(); but draggable doesn't work anymore? Strangely my resize is still there.

I even tried to add them back like this this.gridsterOptions.draggable = {enabled: true,handle: '.gridbox_header, .gridbox_header *'} but still doesn't work.

Does this have to do with jquery-ui? I'm on jquery-ui 1.9

rahulmistry25425 commented 6 years ago

I am having same problem. Trying to reset gridster with destroy first and reinitiate again which is working perfectly but it stopped working draggable events after destroying. Any help?