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

resize_widget method does not trigger resizestop event #540

Open sastepankaj opened 9 years ago

sastepankaj commented 9 years ago

Hi, Depending on my content i want to resize the gridster widget programatically. So i am using resize_widget method to resize the gridster widget gridster.resize_widget( widgetDiv, sizeX, sizeY ); While instantiating gridster, i have provided resize:stop callback which has some handling on resize of the widget.

My problem is that when widget is resized by dragging the handle, resize:stop callback gets called and everything works fine. But when widget is resized through code using resize_widget method, callback is not executed.

Here is a sample: http://jsfiddle.net/sastepankaj/t0o9n9mt/1/

Is there a way to trigger the resizestop event?

LubosRemplik commented 7 years ago

+1

kelvin200 commented 7 years ago

Any updates on this issue?