Hi all

 

I have a Tree that I am using to display a tree of my Category class.

 

The Category class has an array of categories called children and has a
public property label so it does for the most part work with the tree view.

 

One problem is that all of the categories are listed as branches (has a
clickable arrow next to them) even when there are no children.

 

There will not always be all of the data loaded either so I need to be able
to load more data when a branch is opened.

 

At the moment this is working with the default dataDescriptor. When I tried
to write my own I couldn't convert the array of children into an
ICollectionView.

 

If I get my own data descriptor working this should sort out the branches
issue but will I be able to get data when a branch is extended?

 

I have tried making my Category class implement the ICollectionView
interface but having a great deal of difficulty and it seems like a lot of
work. If I can get it to work with the dataDescriptor then that would be
much better.

 

Many thanks

 

Giles Roadnight

 

Reply via email to