flex - Unable to refresh tree control with new branches from successful RemoteObject call -
I'm trying to populate an MX: tree component that is getting from Blazeas I OK - This folder value is an array selection of the object.
I have been instructed to use Kernagram for this project. I am very new to Flex and Carnegom, according to the limited documentation which I have read online, I should populate the data with the model, so I got stuck in that orange collection.
I'm trying to update the component of the tree, I think I need some methods to inform the container component for the tree that available on the data (i.e. subfolder) model is. I expected that to add subfolders as children of selected nodes, it is possible to fire a function in the container component (I can chalk it before the remote object on the model) and then fire tree.invalidateList () Tree.validateNow (). Any ideas?
I found a way to do this though I'm not sure the way it is recommended.
I got a command class to leave the folder VO's Array compilation for a property named 'subfolder' on the model.
If anyone knows a better way, please tell that when I needed it, I used Change Wheat in the original container of the tree to view the model's subfolder property and the function Set fire. I was hoping to find a Carnogom cookbook or article of best practices, but I have not stumbled on such a thing yet. The Carningmom document looks very rare - I'm surprised that this is the most popular flex framework according to this fact.
Comments
Post a Comment