NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
chaddaniels
Joined: 16 Oct 2008 Posts: 37
|
Posted: Thu Oct 23, 2008 12:08 am Post subject: Disable lazy loading for Node Children in BeanTreeView |
|
|
| I know that the BeanTreeView implements the idea of lazy loading for all Node Children because there can potentially be a huge performance hit for large tree structures. However, this leads to each Node showing an expand-box unless it uses Children.LEAF as its Children object. The real problem is that this expand-box is shown whether or not the Node actually has any children. To me, and some users of my application, this seems misleading because it seems like the expand handle should be shown only when children exist. I know this topic is addressed here but it doesn't offer any solution. So, my question is: Is there a way to disable the lazy loading of children for a BeanTreeView so that all Nodes are loaded when the tree is created? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|