from Hacker News

Show HN: gridster.js, a drag-and-drop grid plugin that actually works

by dmarinoc on 7/30/12, 3:39 PM with 27 comments

  • by simulate on 7/30/12, 5:26 PM

    What are some example use cases? Judging from comments so far, several people need this and plan to use it but I'm having a difficult time thinking of use cases, other than puzzle games.
  • by bjt on 7/30/12, 5:00 PM

    Very impressive! It's not an easy thing to do (http://metafizzy.co/blog/mythical-drag-drop-multi-column-gri...).

    I've been trying to fake it on a recent project for Stanford's recent HCI online class (see http://btubbs.github.com/slapdash/), but Gridster looks much nicer. Will be switching.

  • by eranation on 7/30/12, 3:45 PM

    Nice! and indeed needed... How do you handle scroll areas? can one column be independently scrolling? that was my main pain point with JQueryUI draggable...

    Note that your "Fork me on github" banner points to http://github.com/you, which shows me MY profile page :)

  • by Argorak on 7/30/12, 4:17 PM

    This has very interesting drawing bugs in Safari 6 (Mountain Lion):

    http://dearmacos.tumblr.com/post/28341302336/computer-graphi...

  • by wmblaettler on 7/30/12, 5:45 PM

    Very nice! Any tips/issues on making it responsive to the window size? Having just viewed at the demo and not really digging into the code, I am not sure if this is rather obvious or not. Thanks!
  • by Hikari on 7/30/12, 6:44 PM

    This is the best dnd layout manager I have seen so far and trust me I have played with a lot of them. There is of course some improvement that can be made but that is what github is for. I really hope this project will get enough traction to warrant updates and new features. great job
  • by jsmcallister on 7/30/12, 4:05 PM

    Very nice. Hopefully there's a simple way to take the serialized position array and parse out an order. Would be nice to use this plug-in to allow users to easily rank and group objects.
  • by wmblaettler on 7/30/12, 5:50 PM

    Does this implement any auto-layout / best fit methods given a random set of tiles?
  • by halis on 7/30/12, 5:47 PM

    Very nice, does the license allow this to be used in a commercial project?
  • by ipedrazas on 7/30/12, 3:52 PM

    Well done guys!

    You're going to make my children very happy indeed!

  • by manuscreationis on 7/30/12, 3:42 PM

    Any examples of this integrating with Twitter Bootstraps layout?
  • by Ethervoid on 7/30/12, 4:04 PM

    Cool! As soon as i come home i'm going to try it
  • by hamorim on 7/30/12, 4:10 PM

    Nice! Really cool!
  • by ivanloire on 7/30/12, 3:53 PM

    really cool stuff.. :)
  • by wseymour on 7/30/12, 4:17 PM

    Wow, I've been looking for something like this for a while now, and this is _really_ impressive. Good work!