Skip to content

Releases: gridstack/gridstack.js

v9.0.2

30 Aug 00:04
31a4b12

Choose a tag to compare

  • fix 'resizecontent' event fix not called.
  • partial fix #2427 fitToContent when calling cellHeight()/addWidget()/MakeWidget()

v9.0.1

27 Aug 16:30
cb343b3

Choose a tag to compare

v9.0.0

23 Aug 21:17
2bd203a

Choose a tag to compare

  • feat #404 added GridStackOptions.fitToContent and GridStackWidget.fitToContent to make gridItems size themselves to their content (no scroll bar), calling GridStack.resizeToContent(el) whenever the grid or item is resized.
  • also added new 'resizecontent' event, and resizeToContentCB and resizeToContentParent vars.
  • fix #2406 inf loop when autoPosition after loading into 1 column, then 2.

v8.4.0

20 Jul 22:49
6c5fb3a

Choose a tag to compare

  • feat #2378 attribute DDRemoveOpt.decline to deny the removal of a specific class.
  • fix: dragging onto trash now calls removeWidget() and therefore GridStack.addRemoveCB (for component cleanup)
  • feat: load() support re-order loading without explicit coordinates (autoPosition or missing x,y) uses passed order.

v8.3.0

13 Jun 20:37
561c64a

Choose a tag to compare

feat #2358 column(N, 'list'|'compact'|...) resizing and compact('list'|'compact') now support reflowing content as list

v8.2.3

12 Jun 05:06
e7e2851

Choose a tag to compare

fix #2349 grid NoMove vs item NoMove support
fix #2352 .ui-draggable-dragging z-index for modal dialogs
fix #2357 NaN inf loop when using cellHeight rem/em
fix #2354 max-w cloning issue fix

v8.2.1

26 May 21:09
ad111d1

Choose a tag to compare

  • fix: make sure removeNode() uses internal _id (unique) and not node itself (since we clone those often)
  • fix: after calling addRemoveCB make sure we don't makeWidget() (incorrectly) a second time
  • break: GridStackWidget.id is now string only (used to be numberOrString) as it causes usage to have to check and cast

v8.2.0

24 May 23:54
fdb9347

Choose a tag to compare

  • feat: makeWidget() now take optional GridStackWidget for sizing
  • fix: make sure GridStack.saveCB is call in removeWidget()
  • feat: angular wrapper: serialize custom data support, and making sure destroy() is called on ng components

v8.1.2

22 May 14:21
b4d202a

Choose a tag to compare

  • #2323 module for Angular wrapper

v8.1.1

13 May 16:01
d6043f6

Choose a tag to compare

  • fix: #2314 fix issue with having min-height/width instead of height/width for gs-h|x="1"
  • also further compressed CSS multi column rules (use .gs-# > .grid-stack-item instead of .grid-stack-# > .grid-stack-item)