The entire board is filled with widgets, borderless. And when I try to move an element from one column (1) to another (2), the elements in column 2 just go down from the board, for example:

I would like to prohibit the placement of a widget in a place if there is no place for widgets in the column.
My code is:
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!
source
share