O$: Tree list

Christine Penner christine at ingenioussoftware.com
Tue Apr 28 19:13:06 EDT 2009


I'm trying to build a dynamic tree list. There is a couple of ways to 
do that and I'm looking for everyones opinion which is best.

I will be passing 2 lists. One with the columns (levels) I want in 
the tree. Including the field name and title.
The other will be the list of data.

Currently all trees we use have only 3 levels. There could be more 
but not many. The data list could be large (possibly thousands).

No matter how I do it I will have to walk through both the lists. 
Here are the 2 options I have come up with.

1. Add nodes one at a time using $add().
2. Build a list (using the kFlatList form) and use $setnodelist()

Christine Penner
Ingenious Software
250-352-9495
christine at ingenioussoftware.com 




More information about the omnisdev-en mailing list