Home > Ajax > dcomments.blogs.d.dojo_toolkit_blogs  [ Add to favorite]  Print Message

DnD Editor Update: Grid Wars


This week I've been trying to integrate the GridContainer into the form creator, so users can create forms with multiple columns. Unfortunately, it hasn't been an easy drop-in replacement, and I've discovered some bugs. #7217 turned out to be a "mini flub", easily fixed once I found the faulty code. I think #7218 will be another simple fix (fingers crossed) as soon as I figure out what event to hook into.

But there's still some bigger problems that I'm not sure how to fix yet. I have a not-pretty-or-working demo to see them in action:

  • can't move elements across columns
  • the container loses track of an element if you pull it outside the column; watch the target box disappear
  • dragged elements fly back to their original position, instead of dropping onto a new spot

Whether these are problems with my code or the GridContainer is still to be determined, but since the SoC is quickly coming to a close, I'm going to turn my attention to other bugs for now.

Sun,
20 Jul 2008
Original article here