ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

Propertie extra_rows seems not to be working #231

Open Hitchki opened 10 years ago

Hitchki commented 10 years ago

I am using grister as follows and would expect to get an extra row - but that does not happen. (With "extra row" I mean getting a second, empty row with no data in it - which I guess ultimatelly would mean that the height of the ul is increased by the the heigt of an extra row)

$(".gridster ul").gridster({ widget_margins: [10, 10], widget_base_dimensions: [wid_base_dim_x, 200], min_cols: 1, extra_rows: 1, max_cols: nrOfCols,

Hitchki commented 10 years ago

Here the html I use:

<div class="gridster"> <ul>

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1"></li> <li data-row="1" data-col="2" data-sizex="1" data-sizey="1"></li> </ul> </div>

nmg196 commented 9 years ago

I can confirm this problem. I would like an extra blank row but can't it to appear.