All board is filled by widgets, without margin. And when i try to move element from one column(1) to another(2) the elements at column 2 just go down out of the board like:
I'd like to forbid placing a widget to a place if there is no place for widgets in the column.
My code:
gridster = $(".gridster > ul").gridster({
widget_margins: [mySizeDetector.blockMargin, mySizeDetector.blockMargin],
widget_base_dimensions: [mySizeDetector.dx, mySizeDetector.dy], /*[width, height]*/
min_cols: mySizeDetector.xCount,
min_rows: mySizeDetector.yCount,
}).data('gridster');
Thanks in advance!