[Project_owners] Getting the index of the first leaf child (treerow?) in a tree

Neil neil at parkwaycc.co.uk
Sat Apr 23 23:12:24 EDT 2005


Sudhakar Chandra wrote:

>I want tree like so constructed from an RDF datasource in my XUL:
>
>Foo
>|--Bar
>|--Baz
>Blat
>|--Quiggle
>
>Foo and Blat are folders. Foo contains Bar and Baz. Blat contains
>Quiggle. How do I find the tree index of Bar programatically?
>  
>
Just loop over all the rows until you find one that isn't a container or 
is empty?


More information about the Project_owners mailing list