Code Monkey home page Code Monkey logo

Comments (14)

Tushkiz avatar Tushkiz commented on June 12, 2024

Hey @codecowboy, did you find any leads on disabling a part of grid. I too want to achieve such behavior.

from jquery-gridly.

codecowboy avatar codecowboy commented on June 12, 2024

@ksylvest Hi. Any chance of some input here?

from jquery-gridly.

codecowboy avatar codecowboy commented on June 12, 2024

@Tushkiz I found another library called 'packery' which has a 'stamped' option: http://codepen.io/codecowboy/pen/uKIar
http://packery.metafizzy.co/methods.html#stamp

from jquery-gridly.

Tushkiz avatar Tushkiz commented on June 12, 2024

@codecowboy thanks man, Packery seems good, but I couldn't achieve such behavior i.e., I am trying to freeze a tile, it can't be moved nor other tile can be dragged over the freezed tile.

from jquery-gridly.

codecowboy avatar codecowboy commented on June 12, 2024

@Tushkiz seems we are not alone - metafizzy/packery#147 (comment). Let me know if you want to collaborate on a fix.

from jquery-gridly.

Tushkiz avatar Tushkiz commented on June 12, 2024

@codecowboy sure, why not 👍

from jquery-gridly.

ksylvest avatar ksylvest commented on June 12, 2024

@codecowboy @Tushkiz Let me know if you guys needed anything from me for this (sorry for the inactivity on the issue).

from jquery-gridly.

codecowboy avatar codecowboy commented on June 12, 2024

@ksylvest speaking for myself, I would need some pointers on how your layout code works in order to try and implement something with gridly. To make things more challenging, I don't know coffeescript :-/

from jquery-gridly.

Tushkiz avatar Tushkiz commented on June 12, 2024

@ksylvest I was trying by suppressing draggable for quick fix, didn't work. Need to get into your code (don't know coffeescript) for robust solution.

from jquery-gridly.

ksylvest avatar ksylvest commented on June 12, 2024

@codecowboy @Tushkiz One of the questions for this feature for me is what behavior is expected when a brick is disabled. Does that just mean that a user can't drag and drop it? Does it mean if it is in position #8 it will always be in position #8 (i.e. new elements would shift past). Thoughts?

from jquery-gridly.

Tushkiz avatar Tushkiz commented on June 12, 2024

@ksylvest yep. The position of disabled brick can't be changed and yes other bricks should shift past the disabled brick.

from jquery-gridly.

codecowboy avatar codecowboy commented on June 12, 2024

@Tushkiz did you make any progress with this?

from jquery-gridly.

Tushkiz avatar Tushkiz commented on June 12, 2024

@codecowboy nope. I did this using jQuery UI Sortable.

from jquery-gridly.

ksylvest avatar ksylvest commented on June 12, 2024

Feel free to reopen with a pull request if you ever make. Closing this until then.

from jquery-gridly.

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.