View Full Version : model with child model like in hasMany sample?

26 Jun 2012, 12:29 AM
Hi all,
I just read this sample:
On how to have a hasMany relation between 2 model.

I want to accomplish this but by using a store.
In my case my model are simple and contian only field definitions and I want that when my nested hson will return from the server each top level model will create a child model that will be attached to it.

How do i accomplish this?

6 Jul 2012, 2:05 PM
Have you tried using multiple hasMany?