|
You should be able to use the
Tree.setIsBranch method on your node to set it so that it will be treated as a
leaf instead (won’t show children). Now if you want it to show as a
branch but not be able to open then I think you’ll need to subclass Tree and
override setIsOpen to check if the node really should be allowed to open (and
if not don’t do anything). Matt From: Hi everybody, New question about Tree manipulation. I would like to have control on specific parts of my Tree
structure. More precisely I would like to prevent user to expand
specific TreeNodes among all TreeNode into my Tree because I don't want them to
have a look on the subnode. I should assume that I have no real good idea to investigate
this problem. Do I have to create a new CellRenderer adapted to my need? Thank for your help and your suggestions! David **********************************************************************
Coface facilite les echanges entre
les entreprises partout dans le monde. Pour cela, elle offre a toutes les
entreprises des solutions pour gerer, financer et proteger leur poste client,
en leur permettant d'externaliser tout ou partie de la gestion et des risques
lies a leurs relations commerciales. Coface est notee AA par Fitch Ratings et
Aa3 par Moody's. Pour en savoir plus,
http://www.coface.fr Coface facilitates
business-to-business commerce worldwide. It offers all size companies an array
of solutions to manage, finance, and protect their accounts receivables
affording them the option of fully or partly outsourcing trade relationship
management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by
Moody's. More about Coface,
http://www.coface.com WARNING : - Soyez conscient que notre systeme
Anti-Spam peut parfois rejeter des messages, soit parce que certains mots et
types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a pas ete
identifie correctement. - Be aware that from time to time our
Anti-Spam system may reject mails either because some words and types of files
are not allowed or because mails are misidentified. **********************************************************************
Yahoo! Groups Links
|
- RE: [flexcoders] TREE : Collapsing & expanding TreeN... Matt Chotin
- RE: [flexcoders] TREE : Collapsing & expanding ... david_gal-reyniez

