[Project_owners] How to select new <treerow/>?
grimholtz at yahoo.com
Thu Sep 8 18:31:02 EDT 2005
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 correctly
displays in the tree. Now how can I select/highlight that new item in
Would appreciate any help--even donate cash to another project in
--- Eric Jung <grimholtz at yahoo.com> wrote:
> I have an rdf-backed <tree/> specfied like this:
> <tree id="accountsTree" align="stretch"
> onselect="onAccountsTreeSelection();" flex="1"
> style="width: 30em; height: 15em;"
> After adding an element to the RDF, the tree is updated as
> But now I'd like to select the new element in the tree. How can I
> the newly-added element to a tree index I've tried things like:
> var curSelNode =
> but this just gives me the currently selected item (as expected).
> Any help would be greatly appreciated,
> Click here to donate to the Hurricane Katrina relief effort.
> 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