Hi all,
    I am using CFTREE to provide some report data to a client about the
contents of his database, expected revenue etc, basically the client sells
a product which a person may purchase a basic service for and a number of
features, the tree starts by showing all the clients, the next level is
the products that each has purchased and any recurring cost associated
with that product, the next level has the service (if any) with the
product and reccurring costs associated with the service and the final
level has the features (if any) associated with that product and costs
asociated with them.  All the <CFTREEITEM>s are produced individually
through a few nested <CFOUTPUT>s.

Now, this works great, except right now I only have
the database populated with 20 odd products and a few customers for testing,
what is going to happen when that increases to a few thousand products, services,
features and customers - it's probably going to get unacceptably slow to
calculate, and almost certainly a  big
download for that page because the whole tree has to be generated in one
go, but if I could present the tree in collapsed form, and ONLY generate
braches when they get expanded, saving the current tree structure somehow
in a session variable between times, then speed wouldn't be a problem.  

So is there a way to have some action performed with a CFTREE when an
node is `expanded', i.e client clicks the [+] and the form submits, or
something so that I can generate the appropriate stuff and re-present the
tree with the appropriate branch expanded ??


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to