Yahoo UI Drag Drop Performance Probs -- HELP!

Q

quantass

I've started using the Yahoo UI Drag Drop library for my web page.
Right now Im a bit concerned with speed.

The page has several items in a treeview like display using DIV-TABLE
elements for each node. Before applying: "new
YAHOO.util.DDProxy(MyNodeID)" to each node on screen (there can be
about 60+ nodes being displayed) the overall performance is excellent;
i can click my +/- toggle to hide/show the child sections. However
when i apply the DDProxy to each node via:

for (var myNodeID in MyNodeList)
new YAHOO.util.DDProxy(myNodeID)

the performance plummets dramatically. Dragging the proxy display
works but is a bit slow but worst is the overall page performance.
Disregarding drag dropping and just going back to hiding/showing
children section via the +/- toggle takes considerably longer (from .4
secs to 3 seconds). Its as if the entire page took a huge performance
drop even when not dragging.

Is there anything i can do to impreove performance? Perhaps Im
initalizing the DDProxy for my nodes incorrectly?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top