[Project_owners] How to select new <treerow/>?
grimholtz at yahoo.com
Fri Sep 9 14:23:50 EDT 2005
Neil / Michael,
Thanks very much for all the ideas. The one below from Neil finally
If you guys have projects which you'd like me to donate to, please
send me the links!
--- Neil Deakin <enndeakin at sympatico.ca> wrote:
> Eric Jung wrote:
> >Anyone? I also posted this here:
> >but haven't gotten any replies. To rephrase the problem: I have an
> >RDF-backed <tree/>. I add a new resource to the RDF which
> >displays in the tree. Now how can I select/highlight that new item
> >the tree?
> >Would appreciate any help--even donate cash to another project in
> >return :)
> var item = document.getElementById(resource_uri);
> var idx = tree.view.getIndexOfItem(item);
> if (idx >= 0) tree.view.selection.select(idx);
> / Neil
> Project_owners mailing list
> Project_owners at mozdev.org
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Project_owners