Comments (2)
Hi,
locked
means it won't be moved by other widgets (when you drag another widget). To make it completely freeze you have to call movable(el, false)
and resizable(el, false)
. Please check to README file.
from gridstack.js.
Hi @troolee
I have tried the code provided by @tomasjurasek and turns out he was right. Even when i resize the widget over that widget (whose locked = true) that widget still leaves its place and goes below.
But if i hardcoded the locked: true in gridstack.js then it works fine.
Please look into it.....
from gridstack.js.
Related Issues (20)
- Null pointer exception HOT 1
- Inconsistency in setting height of grid-stack-item HOT 5
- Header Selection Widget (Placeholder) for Dashboard Complex Grid-Stack-Item HOT 5
- Gridstack cuts bottom off content when using sizeToContent HOT 2
- sizeToContent is not triggered when initializing from HTML HOT 5
- addSubGrid does not work: TypeError: Failed to execute 'appendChild' on 'Node': HOT 4
- How to define sub-grid in HTML and initialize it later in JS HOT 4
- [Bugs] Add a new widget in one column mode will affect the layouts after you switch back to multiple columns. HOT 3
- Copies are added after quickly dragging elements in the subgrid HOT 2
- Column example does not work
- Unknown option: responsive HOT 1
- [BUG] If transform scaling is applied, dragging out and back in will result in wrong positions being tracked HOT 1
- Incorrectly placed item after repeated insertion and deletion of a column HOT 5
- Margin not applied to ui-resizable-s or ui-resizable-n
- Rows limit HOT 1
- How to make a checkerboard with fixed container height HOT 2
- [BUG] The order of the grids can break, when the page is loading on small screen, with Responsive Layouts HOT 5
- Auto scroll not working when you are dragging a widget and at bottom or top of the screen. HOT 5
- How to drag between 2 grids in react 18 HOT 11
- Column or row empty ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gridstack.js.