Hello Flex community,
I have a problem with refreshing data in a list control when the data provider
is a tree structure of generic objects. Here is the situation -
Consider that I have a class called TreeItem with the following attributes.
Class TreeItem
{
public var name:String;
public var description:String;
publilc var image:String;
public var children:TreeItem;
}
A tree structure of this TreeItem is provided as a data provider to a list
control.
Issue is that the list control is not reflecting changes in the tree structure
when an attribute of TreeItem is updated even though I am using data binding to
bind TreeItem to the list control.
I was wondering if there is a way to explicitly trigger a refresh. I have
already tried doing this by raising event PropertyChangeEvent but this is not
making any difference. Appreciate if you can share your thoughts on this.