Re: Automatic expand all nodes of BeanTreeView when explorer is opened for the first time
stephen cumminger <[email protected]> Mon, 28 Aug 2017 00:14:56 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <YTOPR0101MB1180D94031EF3B6DC4F1868D839E0@YTOPR0101MB1180.CANPRD01.PROD.OUTLOOK.COM> |
BeanTreeView.expandAll(); Steve -----Original Message----- From: stephaneleonel [mailto:[email protected]] Sent: August-27-17 8:12 AM To: [email protected] Subject: [platform-dev] Automatic expand all nodes of BeanTreeView when explorer is opened for the first time Hello Community, We are building a school management app that will be soon released as free an open source in netbeans platform portal. The application contains an explorer which load data from database and displays a tree at startup : [Image: https://forums.netbeans.org/files/capture1_813.png ] But, at startup, only the root is displayed as you can see in the image above. We want to expand automatically all nodes at startup, like this : [Image: https://forums.netbeans.org/files/capture2_441.png ] How can we do that ? Note that childs are asynchronously built. Attachments: http://forums.netbeans.org//files/capture2_441.png http://forums.netbeans.org//files/capture1_813.png