49080Re: How to check whether the selected TextNode is the root node
> I'm a newbie to yui. So could anyone help me to check whether the selected TextNode is the root node. I'm referring this to the context menu based TreeView.
> Thanks in advance
hope I did not misunderstand your question.
Do a getRoot ( ) on the treeview (i.e. NS2112.REPOSITORY.m_RepositoryTree.getRoot())
which will give you a NODE back.
and compare the properties for the node that was clicked with the returned node.
- << Previous post in topic Next post in topic >>