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.03k stars 1.2k forks source link

I use add_widget adding a new widget, having problem dragging them with handler #291

Open li6834300 opened 10 years ago

li6834300 commented 10 years ago

It works fine if I remove the draggable: { handle: $('.header') } but after i add a new widget with the header it's not draggable

m0sk1t commented 8 years ago

draggable: { handle: '.header' } Gridster needs only selector, not a jQuery wrapped html element