我已经构建了一个表单设计应用程序
dsmorse(dsmorse.github.io/gridster.js/)
grister和我不能在超过15行中添加小部件。我试过gridster.options.max_rows=60;,但在我的案子里没有用。
发布于 2016-04-22 22:23:08
将max_rows设置为所需行数
示例
gridster[{0}] = $('#grTer_{0} ul').gridster({
widget_base_dimensions: ['auto', 55],
autogenerate_stylesheet: true,
min_cols: 1,
max_cols: 12,
max_rows: 140,
extra_rows : 40,
widget_margins: [30, 30]
}).data('gridster');默认情况下,max_rows为最大15行。
https://stackoverflow.com/questions/35129674
复制相似问题