You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* always thought it was weird to have a (per) grid option when we had a list of D&D
plugins but last one won.
* now we only have a global static DD that is shared. Grid instance can be infered by element
for any needed options.
Copy file name to clipboardExpand all lines: doc/README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,6 @@ gridstack.js API
82
82
* 0 or null, in which case the library will not generate styles for rows. Everything must be defined in CSS files.
83
83
*`'auto'` - height will be square cells initially.
84
84
-`column` - number of columns (default: `12`) which can change on the fly with `column(N)` as well. See [example](http://gridstackjs.com/demo/column.html)
85
-
-`ddPlugin` - class that implement drag'n'drop functionality for gridstack. If `false` grid will be static. (default: `null` - first available plugin will be used)
86
85
-`disableDrag` - disallows dragging of widgets (default: `false`).
87
86
-`disableOneColumnMode` - disables the onColumnMode when the grid width is less than minWidth (default: 'false')
88
87
-`disableResize` - disallows resizing of widgets (default: `false`).
/** number of columns (default?: 12). Note: IF you change this, CSS also have to change. See https://github.com/gridstack/gridstack.js#change-grid-columns */
62
61
column?: number;
63
62
64
-
/** class that implement drag'n'drop functionality for gridstack. If false grid will be static.
65
-
* (default?: undefined - first available plugin will be used)
66
-
*/
67
-
ddPlugin?: false|typeofGridStackDD;
68
-
69
63
/** disallows dragging of widgets (default?: false) */
0 commit comments