>- see footer for list info -<
Thanks Russ,

Will give it a go tonight.

---------- Original Message ----------------------------------
From: "Russ Michaels \(Snake\)" <[EMAIL PROTECTED]>
Date:  Mon, 10 Jan 2005 09:55:09 -0000

>Load ALL data into a cached query.
>
>Loop over it and build an explorer tree ( using list items is probably the
>easiest method).
>Check if each item has child items, if so add a nested list item. If not
>close last listitem and continue looking for next ParentId.
>I tend to use, ITEMID, parentID. Where parentID with be the the ITEMID of an
>items parent if it has one, 0 if not.
>
>Here is a module attached I wrote for building an explorer tree, this should
>do as an example to get you going.
>
>An example of calling it.
>
><cfmodule template="MOD_tree.cfm" 
>                               query="containers" IDcolumn="containerID"
>nodeText="containerName" 
>                               title="Containers" titleClass="subHeadings"
>       
>editlink="index.cfm?action=CMS.editcontainer"
>                               onclick="true">
>
>Russ Michaels
>Macromedia/Allaire Certified ColdFusion Developer
> 
>CFDeveloper
>The free resource and community for ColdFusion developer.
>http://www.cfdeveloper.co.uk
>
>
>
>
>
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to