Has anyone implemented or seen a "horizontal" drag-and-drop of items within an Ext Panel? | Leo Dashevskiy | 2012-05-16 14:02 | |||||||||||||||
Status: Closed | |||||||||||||||||
This has way less to do with LabKey, I realize, but you guys look like a very knowledgeable bunch, so I am giving it a shot here. May be you can direct me to some useful resources about this... The layout of my panel is "column" so that when I add items to it sequentially via the panel.items.add() call, iterating through my input array and generating each iteration an appropriate object to add, the objects (all the same height) show up in the panel just the way I want them, they overflow: the panel width is fixed, if there is not enough room on the current line at the end of it for next object to be added, then the panel's height increases and the last object is added as the first on the new line. Now this left to right, then carry-over to the beginning of the next line and go left to right again, flow is important to the design. The idea now is to empower this with drag and drop ability, so that any element can be dragged and dropped in between horizontally-wise any other two objects and so that all of the objects "to the right" (including all of the lines below) shift right to make space for the object being dragged and dropped. Hopefully, I am making myself clear here. Thanks. |
|||||||||||||||||
| |||||||||||||||||