This content has been marked as final. Show 3 replies
I've spent a lot of time on this and am out of ideas. No ideas?
Well anyway, I ended up writing some classes that wrap my objects to simulate the default handler that expects everything to have label/children properties. A big pain in the rear, but seems to be working. I still think it's unnecessary, but was the only way I could get it to work after spending a ridiculous amount of time on it. Seems like it should be the most basic of tree control functionality. Anyway, the code is kind of specific to my data model so no sense in posting it here. But if anyone else has this problem, post here and I'll do my best to help.
I think I'm having a similar problem. I have an implementation of ITreeDataDescriptor, and my tree expands as far as the first level nodes. Using trace(), I can see that the hasChildren() method is being called for the second level nodes and returns true, but getChildren() is never called. As you say, it's easy to burn a *lot* of time trying to track this down. I've modified my code to add children and label properties, but that hasn't helped yet. Any insights would be most appreciated!