Opened 13 years ago

Closed 12 years ago

#2466 closed defect (wontfix)

Large tree too slow

Reported by: guest Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.3.1
Keywords: Cc:
Blocked By: Blocking:

Description

I'm using the content pane which is divided in half - the left half containing a tree and the left half to display content based on the user's selection from the tree. However, my tree is large and its causing the page to take much too long to load (>60sec).

The code I'm using is the same code from the ContentPane? example.

Also the content panes don't even appear in Firefox.

Change History (2)

comment:1 Changed 13 years ago by marc.saliba@…

How can I optimize the amount of time needed for the tree to load? The tree consists of around 900 nodes and the loading time is abnormally long. Its just a simple tree, its just large:

<div dojoType="TreeSelector" eventNames="select:nodeSelected" widgetId="treeSelector"></div>
<div dojoType="Tree" toggle="explode" toggleDuration="10" selector="treeSelector">
	<div dojoType="TreeNode" title="Title">
		<div dojoType="TreeNode" title="Title" id="widget1">
	<div dojoType="TreeNode" title="Title" id="widget334">
		<div dojoType="TreeNode" title="Title" id="widget335">
			<div dojoType="TreeNode" title="Title" id="widget336">
				<div dojoType="TreeNode" title="Title" id="widget337">
				</div>
				<div dojoType="TreeNode" title="Title" id="widget338">
				</div>
			</div>
			<div dojoType="TreeNode" title="Title" id="widget339">
				<div dojoType="TreeNode" title="Title" id="widget340">
				</div>
				<div dojoType="TreeNode" title="Title" id="widget341">
				</div>
				<div dojoType="TreeNode" title="Title" id="widget342">
				</div>
				<div dojoType="TreeNode" title="Title" id="widget343">
				</div>
				<div dojoType="TreeNode" title="Title" id="widget344">
				</div>
			</div>
		</div>
		<div dojoType="TreeNode" title="SGXW" id="widget345">
			<div dojoType="TreeNode" title="Unassigned" id="widget346">
				<div dojoType="TreeNode" title="Title" id="widget347">
				</div>
			</div>

etc..

Help!

comment:2 Changed 12 years ago by bill

Resolution: wontfix
Status: newclosed

I'm not sure why it was so slow for you, but Tree has been completely rewritten and the above syntax isn't even supported anymore, so I don't think this is an issue anymore.

Note: See TracTickets for help on using tickets.