sharmaprateek <[EMAIL PROTECTED]> writes:

> And one more question.. Consider the following tree..
>
> --Root
> |
> |-----Folder1
>          |---Leaf1
>          |---Leaf2
>
> If I click on Leaf1 then is there any way to find out who is the parent of
> Leaf1 ? (for eg if i click on leaf1 then I should be able to retrieve
> Folder1 the name of its parent.) 

See my previous message.  When you get the clicked-on node, you can
call its getParentFolder() method to retrieve the parent.

Derrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to