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.
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?