NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)
Latest stable
14.1.1
Last release 9 days ago
17 Nov 2026
Release timing varies
gaps range from 9 days to 4 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
143 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
fix #1341 Enable the UMD behavior for bundlers compatibility
fix #1341 Enable the UMD behavior for bundlers compatibility
fix #1311 domAttr is not defined
styleInHead option to allow for selecting older behavior (adding STYLE element to HEAD element instead of parentNode)fix #1229 staticGrid no longer disable oneColumnMode
staticGrid no longer disable oneColumnModeinit() clones passed options so second doesn't affect first oneaddWidget() ignores data attributesYour coding agent can read these notes before it upgrades. Set up the MCP server →
fix #1187 IE support for CustomEvent polyfill - thanks @phil-blais
CustomEvent polyfill - thanks @phil-blaisadd minRow and row grid options (which set minRow=maxRow=N) 1172 - thanks @RadoiAndrei
minRow and row grid options (which set minRow=maxRow=N) 1172 - thanks @RadoiAndreimaxRow now limit initial item placement if out of bound, preventing broken drag behaviorgrid.on('added removed change', callback) again even with native events.Breaking Change: #1084 jquery was removed from the API and dependencies (initialize differently, and methods take/return GridStack or HTMLElement inst…
GridStack or HTMLElement instead of JQuery), so your code will need to change.
See Migrating to v1.0.0setColumn(N) is now column(N) (matches other set/get methods) and getColumn() to get current column numbergrid.on(eventName, callback) / grid.off(eventName) to hide native JQ events mixgrid.getRow() to get the current grid row numberfix #540 WebComponent support: CSS file now insert before grid instead of 'head'
acceptWidgets classchange callback to save original x,y,w,h values and only call those that changed #1148bower since dead for a while nowfix #1132 oneColumnMode missing CSS layout in default styles
oneColumnModeClass / .grid-stack-one-column-mode and associated code. If you depended on this, use class .grid-stack-1 instead since it is 1 column layout anyway #1134fix #1132 oneColumnMode missing CSS to do layout
del oneColumnModeClass / .grid-stack-one-column-mode and associated code. If you depended on this, use class .grid-stack-1 instead since it is 1 column layout anyway 1134
add oneColumnModeDomSort true|false to let you specify a custom layout (use dom order instead of x,y) for oneColumnMode setColumn(1) #713
oneColumnModeDomSort true|false to let you specify a custom layout (use dom order instead of x,y) for oneColumnMode setColumn(1) #713fix #37 oneColumnMode (<768px by default) now simply calls setColumn(1) and remembers prev columns (so we can restore). This gives us full resize/re-o
setColumn(1) and remembers prev columns (so we can restore). This gives us full resize/re-order of items capabilities rather than a locked CSS only layout (see prev rev changes). #1120add float(val) to set/get the grid float mode, which will relayout #1088
float(val) to set/get the grid float mode, which will relayout #1088compact() to reclaim any empty space and relayout grid items #1101options.dragOut to let user drag nested grid items out of a parent or not (default false) and jQuery UI draggable.containment can now be specified in options. You can now drag&drop between 2 nested grids #1105% as a valid unit for height #1093. thank you @trevisanweb @aureality @ZoolWayadded, removed, change or combination if adding a node require also to change its (x,y) for example. Also you can now call batchUpdate() before calling a bunch of addWidget() and get a single event callback (more efficient). #1096
NOTE BREAKING: if your code expected to always get change callback to do something you may have to listen to added|removed events as well.removeAll() is now much faster (no relayout) and calls removed event just once with a list #1097setColumn() complete re-write and is no longer "Experimental". We now do a reasonable job at sizing/position the widgets (especially 1 column) and also now cache each column layout so you can go back to say 12 column and not loose original layout. #1098addWidget(el) (no data) would not render item at correct location, and overlap item at (0,0) #1098data-gs-width and data-gs-height - fix #413, #914, #918, #922, #933 thanks @ermcgrat and others for pointing out code issue.no code change, just packing issues
fix for griditems with x=0 placement wrong order (introduced by #1017) (#1054).
cellHeight(val) not working due to style change (introduced by #937) (#1068).gridstack.poly.js for IE and older browsers, removed core-js lib from samples (<1k vs 85k), and all IE8 mentions (#1061).jquery-ui.js (and min.js) as minimal subset we need (55k vs 248k), which is now part of gridstack.all.js. Include individual parts if you need your own lib instead of all.js
(#1064).fix for griditems with x=0 placement wrong order (regression by #1017 ) ( #1054 ).
fix cellHeight(val) not working due to style change (regression by #937 ) ( #1068 ).
add gridstack-poly.js for IE and older browsers, removed core-js lib from samples (<1k vs 85k), and all IE8 mentions ( #1061 ).
add jquery-ui.js (and min.js) as minimal subset we need (55k vs 248k), which is now part of gridstack-h5.js . Include individual parts if you need your own lib instead of all.js ( #1064 ).
changed jquery dependency to lowest we can use (>=1.8) ( #629 ).
add advance demo from web site ( #1073 ).
grid options width is now column, height now maxRow, and setGridWidth() now setColumn() to match what they are. Old names are still supported (console
width is now column, height now maxRow, and setGridWidth() now setColumn() to match what they are. Old names are still supported (console warnings). Various fixes for custom # of column and re-wrote entire doc section (#1053).animate: true is used. on every move, styles were recreated-fix should slightly improve gridstack.js speed (#937).addWidget() options (#1042).undefined x,y position messes up grid (#1017).
onStartMoving() (#999).addWidget(el, options) to pass object so you don't have to spell 10 params. (#907).fix undefined x,y position messes up grid ( #1017 ).
changed code to 2 spaces.
fix minHeight during onStartMoving() ( #999 ).
add gridstack.d.ts TypeScript definition file now included - no need to include @types/gridstack , easier to update ( #1036 ).
add addWidget(el, options) to pass object so you don't have to spell 10 params. ( #907 ).
just an npm package reduction size (from 672k to 324k) and some API doc fixes
emit dropped event when a widget is dropped from one grid into another (#823).
dropped event when a widget is dropped from one grid into another (#823).exports module fix (#643)..grid-stack-item-content causing child modal dialog clipping (#984).widgets can have their own resize handles. Use data-gs-resize-handles element attribute to use. For example, data-gs-resize-handles="e,w" will make th
data-gs-resize-handles element attribute to use. For example, data-gs-resize-handles="e,w" will make the particular widget only resize west and east. (#494).helper: 'clone' in draggable options. (#661, (#396, (#499).staticGrid grid option (#743)getCellFromPixel (thanks @aletorrado)!important (thanks @krilllind)remove placeholder when dragging widget below grid (already worked when dragging left, above, and to the right of grid).
added when a widget is added via dropping from one grid to another.removed when a widget is removed via dropping from one grid to another.removed when a widget is removed via dropping on a removable zone (#607 and [#550])(https://github.com/troolee/gridstack.js/issues/550)).resizestop called gsresizestop (#577 and #398).oneColumnMode (#593).oneColumnModeClass option to grid.isNodeChangedPosition, minor optimization to move/drag.update requirements to the latest versions of jQuery (v3.1.0+) and jquery-ui (v1.12.0+).
update names to respect js naming convention.
fix closure compiler/linter warnings
fix closure compiler/linter warnings
add staticGrid option.
add minWidth / minHeight methods (Thanks to @cvillemure)
add destroy method (Thanks to @zspitzer)
add placeholderText option (Thanks to @slauyama)
add handleClass option.
add makeWidget method.
lodash v 4.x support (Thanks to @andrewr88)
add batch_update/commit methods
is_area_empty methodbatch_update/commit methodsupdate methodresizable/draggable optionsdisable/enable methodsget_cell_from_pixel (thanks to @juchi)always_show_resize_handle optiongridstack-extra.css
add support of lodash.js
add isAreaEmpty method
nested grids
add batchUpdate / commit methods
add update method
allow to override resizable / draggable options
add disable / enable methods
add getCellFromPixel (thanks to @juchi)
AMD support
fix nodes sorting
improved touch devices support
add alwaysShowResizeHandle option
minor fixes and improvements
One column per quarter.