On Fri, Oct 9, 2009 at 5:32 PM, Resseguie <[email protected]> wrote:
> > I'm writing an application that allows users to drag items from a list > and drop them into one of several "bins". I got this working just fine > using UI Draggable/Droppable. > > Now I'm trying to enhance the application. When the user drags an item > to one of the bins and hovers ( using "over"), I open up a new panel > with several "sub bins" that they can also drop the item into (i.e. to > further classify the item if they wish). > > I tried to accomplish this by simply making the same call to droppable > on the new sub bins, but that doesn't work. I realize now that the > drop zones are calculated when the drag begins. I tried setting the > refreshPositions:true option, but the performance is too poor for what > I need. Instead, I wondered if there was a way to programmatically > force a refreshPositions calculation once the new panel is in place? I > haven't found a way to do so, and was hoping someone would have a > suggestion. > Sorry there isn't currently a way to do this. Seems like it would be really nice to have a refresh method you could call when needed. I've added a feature request ticket: http://dev.jqueryui.com/ticket/4911 > > The closest I've found to a possible solution via Google is this > http://bit.ly/ZbfQC but I'm not sure I understand what they're > suggesting there. > That code is accessing internals, not a public API, so is not recommended. - Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
