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.
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.