Code Monkey home page Code Monkey logo

Comments (4)

alump avatar alump commented on June 26, 2024

Are you sure it doesn't overlap with existing component in layout? gridstack on client side will find the closest free position. So might be good idea to iterate all components in layout and move those to new locations.

from gridstack.

Artgit avatar Artgit commented on June 26, 2024

thanks for your answer. Just for clarification, for example I have a following omponents:

1
2
3
4
5
6
7

I have to resize component 2 in order to be 2 times bigger(components 3 and the rest should be moved down), something like this

1
2
2
3
4
5
6
7

What should I do in order to achieve it ? This is one column layout

from gridstack.

alump avatar alump commented on June 26, 2024

call gridStackComponent.moveComponent(thirdComponent, 0, 3) ... moveComponent(fourthComponent, 0, 4) ... etc... just to make sure those make empty space to slot 0,2

from gridstack.

Artgit avatar Artgit commented on June 26, 2024

Awesome. Thank you very much !

Could you please also help me with a following question #16 ?

from gridstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.