Open mwmwmw opened 9 years ago
I think a better way to put this would be..
I want to make it so that my grid has a fixed number of pieces, and when I move pieces around, instead of expanding the grid, I want the piece being dragged over to move into the space where the piece is from/empty space.
Does that make sense?
I am also interested in knowing if there is anything in the works on this one. :+1:
Any way to do this?
Check this duplicate #500
I'm looking for a way to contain my grid to a maximum number of elements and rows.
I notice there is a max-cols setting, but no max-rows setting.
I also notice that gridster will constrain drag and drop along the X axis but not along the Y axis.
Is there a configuration I can use to do this, or should I be looking into some of the event functions to handle this?
Great library, works really well.