harish
14 Jan 2007, 6:36 PM
I am having problems implementing drag-drop inside nested panels of yui-ext.
The panel structure is like,
content panel in center,
east panel - nested layout.
nested layout - has center(tools panel) and south region (properties panel).
I want to allow dragging tools[images] from a panel in the east region toolspanel, to the content area or center panel of the full layout. I can wire it up.. but the code doesn't respond. it doesn't throw errors either. It works on a non-nested layout.
1. Will script.aculo.us drag-drop work inside the panels.. or, yui-ext overrides some object properties which would make script.aculo.us drag-drop disabled?
I tried to add a draggable but it didnt respond.
2. I tried using something from the yui ddlist example.. it worked on an isolated test page, but once put inside the content panels in the layout, it didnt respond.... meaning the drag item is not set as a drag item, trying to drag it just selects the item as if i moved my cursor to select.
yui-ext docs or forums seem so vast that i am unable to find an example on a drag-drop implementation.
A quick pointer to an existing sample with js code on this site or elsewhere would be great help.
Thanks,
Harish.
The panel structure is like,
content panel in center,
east panel - nested layout.
nested layout - has center(tools panel) and south region (properties panel).
I want to allow dragging tools[images] from a panel in the east region toolspanel, to the content area or center panel of the full layout. I can wire it up.. but the code doesn't respond. it doesn't throw errors either. It works on a non-nested layout.
1. Will script.aculo.us drag-drop work inside the panels.. or, yui-ext overrides some object properties which would make script.aculo.us drag-drop disabled?
I tried to add a draggable but it didnt respond.
2. I tried using something from the yui ddlist example.. it worked on an isolated test page, but once put inside the content panels in the layout, it didnt respond.... meaning the drag item is not set as a drag item, trying to drag it just selects the item as if i moved my cursor to select.
yui-ext docs or forums seem so vast that i am unable to find an example on a drag-drop implementation.
A quick pointer to an existing sample with js code on this site or elsewhere would be great help.
Thanks,
Harish.