It's about how you implement the TreeModel. You need to roll your own
TreeNode implementation that loads the children lazily when then
children() method is called. That way you don't have to populate the
whole tree upfront.

-Matej

On 10/25/07, lubosp <[EMAIL PROTECTED]> wrote:
>
> I use extensions TreeTable and populating the all nodes is quite expensive.
> So I would like to display initially only first level of the nodes and keep
> the nodes with children collapsed. Only if they are getting expanded, I
> would populate the children of the currently expanded node. I have hard time
> figuring it out just from javadoc. Is there a way to do that for TreeTable
> or do I have to populate all tree nodes when I display the TreeTable even if
> the nodes with children are collapsed.
>
> --
> View this message in context: 
> http://www.nabble.com/How-do-I-dynamically-populate-TreeTable-nodes-tf4688372.html#a13399533
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to