When a use clicks the "expand" icon in a serverside Tree2 component, I would like my application to go out and grab more data from the database to fill in the details of that node's children. What's the hook in Tree2 that I can use to do that? Should I override one of the methods? Should I intercept some sort of action?
At first, I tried subclassing TreeNodeBase and overriding the getChildren method so it calls a routine in my application to get more data. However, this results in having all the data in the entire tree retrieved after just clicking on the root, which is not what I want. I want just the data for the immediate children retrieved from the database when a parent node's "expand" icon is clicked. Any usage help would be much appreciated! - Brendan

