JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Optimising Tree Display from Database

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
Torquemada



Joined: 14 Sep 2004
Posts: 11

PostPosted: Tue Jan 11, 2005 8:19 pm    Post subject: Optimising Tree Display from Database Reply with quote

Using COOLjsTreePRO, we read the node information from an Access database, just like in the provided example (db_tree_nodes.asp).

I made one optimisation, which is to read the nodes sequentially instead of via the recursive function. This gave a big improvement.

But now we have a thousand or so nodes, the performance is slow, and I want to try to improve it by only reading from the database when necessary. In other words, I want to only read the visible nodes from the database.

Has anyone developed an algorithm for doing this? Or can anyone suggest other optimisations?
Back to top
Victor_Chuiko
Support Team


Joined: 12 Apr 2005
Posts: 145

PostPosted: Fri Apr 22, 2005 11:42 pm    Post subject: Reply with quote

Sorry, but our COOLjsTree doesn't support this feature at the moment. And currently we have no plans on implementing it.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1