Skip to content

Commit bba8b6b

Browse files
author
Alain Dumesny
authored
Merge pull request #1085 from m-ahmadi/patch-1
corrected the alphabetical order of options in doc
2 parents ac889d5 + 55d679c commit bba8b6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ gridstack.js API
7171
* a string (ex: '10em', '100px', '10rem')
7272
* 0 or null, in which case the library will not generate styles for rows. Everything must be defined in CSS files.
7373
* `'auto'` - height will be calculated from cell width.
74+
- `column` - amount of columns (default: `12`)
7475
- `ddPlugin` - class that implement drag'n'drop functionallity for gridstack. If `false` grid will be static. (default: `null` - first available plugin will be used)
7576
- `disableDrag` - disallows dragging of widgets (default: `false`).
77+
- `disableOneColumnMode` - disables the onColumnMode when the window width is less than minWidth (default: 'false')
7678
- `disableResize` - disallows resizing of widgets (default: `false`).
7779
- `draggable` - allows to override jQuery UI draggable options. (default: `{handle: '.grid-stack-item-content', scroll: false, appendTo: 'body'}`)
80+
- `float` - enable floating widgets (default: `false`) See [example](http://gridstackjs.com/demo/float.html)
7881
- `handle` - draggable handle selector (default: `'.grid-stack-item-content'`)
7982
- `handleClass` - draggable handle class (e.g. `'grid-stack-item-content'`). If set `handle` is ignored (default: `null`)
80-
- `column` - amount of columns (default: `12`)
81-
- `maxRow` - maximum rows amount. Default is `0` which means no maximum rows
82-
- `float` - enable floating widgets (default: `false`) See [example](http://gridstackjs.com/demo/float.html)
8383
- `itemClass` - widget class (default: `'grid-stack-item'`)
84+
- `maxRow` - maximum rows amount. Default is `0` which means no maximum rows
8485
- `minWidth` - minimal width. If window width is less than or equal to, grid will be shown in one-column mode (default: `768`)
85-
- `disableOneColumnMode` - disables the onColumnMode when the window width is less than minWidth (default: 'false')
8686
- `oneColumnModeClass` - class set on grid when in one column mode (default: 'grid-stack-one-column-mode')
8787
- `placeholderClass` - class for placeholder (default: `'grid-stack-placeholder'`)
8888
- `placeholderText` - placeholder default content (default: `''`)

0 commit comments

Comments
 (0)