bmcmahen / react-grid-dnd

drag and drop, grid edition. built with react

Home Page:https://codesandbox.io/embed/gracious-wozniak-kj9w8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boxes with multiple sizes

daydarkln opened this issue · comments

Are any ways to create GridItem with custom size. Now it's just 1x1. Can I create GridItem with 2x3 size for example?

It's a bit cumbersome, but you can specify boxesPerRow and rowHeight in a way that can give you custom sizes depending upon your container width. This will work well for fixed size layouts, but responsive layouts might require some layout measurements, etc.