Hi, I have a chrome application where data can be organized in a hierarchical manner. I want to display those data as a tree in a panel and maintain synchronization with between the tree and my data.
A simple way for doing this would be to parse the whole data, build the RDF structure corresponding to my data, pass the RDF to a templated xul tree. When data change, I could all or part of the RDF to reflect the changes. That would work but parsing the whole data for tree branches that are not opened is too inefficient in my case. Ideally, I would like to construct some parts of the RDF only when it is needed, as a consequence of the user opening a tree node. I've had a look at the way they do this in the mail/news browser tree, but the effort to do the same in my application seems to be huge for my needs. I'm looking for advice on the best method for doing this. Thanks, /mig _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
