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
* add `oneColumnModeDomSort` true|false to let you specify a custom layout (use dom order instead of x,y) for oneColumnMode `setColumn(1)`
* fix for #713
* better than PR #966 which attempted to make a generic support for oneColumn only mode, yet didn't modify the other layouts sorting.
Instead user will have complete control (dom order) iresptive of layouts sort.
Also works with current setColumn() implementation
* added karma tests
* Note: you cannot change this flag and expect 1 column (which is cached) to change (can see in column.html,
unless you add/remove items in larger layouts the blows caches). Future todo.
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ Change log
29
29
30
30
## v0.6.1-dev (upcoming changes)
31
31
32
+
- add `oneColumnModeDomSort` true|false to let you specify a custom layout (use dom order instead of x,y) for oneColumnMode `setColumn(1)`[#713](https://github.com/gridstack/gridstack.js/issues/713)
32
33
- fix oneColumnMode to only restore if we auto went to it as window sizes up [#1125](https://github.com/gridstack/gridstack.js/pull/1125)
0 commit comments