Hi
My goal is a JSON CRUD treestore with 2 levels (say Orders and Items). I am able to load the store in 1 go. But now the problems start. If I delete an Item then the key sent is that of the Order
nested treestore questions
My goal is a JSON CRUD treestore with 2 levels (say Orders and Items). I am able to load the store in 1 go. But now the problems start. If I delete an Item then the key sent is that of the Order
At the moment I have no associations. So my first question is
1) Should I use associations? eg Order hasMany Item
2) will this affect the JSON? Currently, I have "children" at both levels in the JSON. Is this correct or should the names reflect the model names eg "Order" and "Item"?
Peter
nested treestore questions
Aucun commentaire:
Enregistrer un commentaire