View Full Version : HasMany relation between a master object and a tree structure

17 Aug 2011, 7:19 AM
We are implementing a has many relation between an object A and a list of objects B that are structured hierarchically like a tree.

When we use the objects separately (with their own separate Models and Stores) everything is working fine and we can load and display both A and B objects.

If we want to create a "hasMany" relation between A and B, the store for B is generate automatically and is not anymore extending Ext.data.TreeStore and this is resulting in incorrect load of the tree data.

If you have any idea how this should be implemented please feel free to share it.