grid icon indicating copy to clipboard operation
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.

Open RonakKhandelwal opened this issue 7 years ago • 2 comments

resizeGrid was used, in the horizontal direction it works fine but in the vertical one no proper arrangement

RonakKhandelwal avatar Feb 01 '17 05:02 RonakKhandelwal

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');

vbgm avatar Mar 13 '17 15:03 vbgm

:-) Just read the docs one more time.. so it is not a workaround but an expected behaviour.

vbgm avatar Mar 13 '17 15:03 vbgm