I have a tree that is loading asynchronously. I have two models, Manager and User.

Managers can be parent nodes or leaf nodes, but Users can only be leaf nodes. So, a Manager can have any number of Managers above or below him, but I User can only be the child of a Manager.

I have set up proxies for the User and Manager models and set Manager as the TreeStore's Model parameter. I tried using hasMany and belongsTo to describe the relations, hoping that every time I expand a node, a get for Users and for Managers is sent. It isn't working. I'm only getting Managers, not Users.

Anyone have any tips for working with these kinds of relationships?