Open filipemonteiroth opened 10 years ago
I set max_cols to 2 but it doesn't seem to work.
What does happen?
It creates two columns as expected, but my widget can't move. What i really wanted is: I don't want widgets movin' to more than 2 columns in a row.
Hi Folks.
Well, i wish i could make a grid that is something like a 2x2 grid. I just want to limit the number of columns to 2. I set max_cols to 2 but it doesn't seen to work. My setup is like that:
widgets.gridster = $(".gridster ul").gridster({ widget_margins: [40, 20], widget_base_dimensions: [105, 140], draggable: { stop: function() { widgets.update_locations(); } } }).data('gridster');