grid
grid copied to clipboard
Initial render when x and y attributes are not provided works for horizontal direction but in vertical direction it just stacks one under the other.
resizeGrid was used, in the horizontal direction it works fine but in the vertical one no proper arrangement
I have the same issue in both vertical and horizontal direction (osx chrome and safari). Even in the demo, if to turn off assigning the data-x and data-y attributes. As a workaround, managed to get the items positioned when specifically calling resize function right after initialization:
$('#grid').gridList({
lanes: 8,
direction: 'vertical',
});
$('#grid').gridList('resize');
:-) Just read the docs one more time.. so it is not a workaround but an expected behaviour.