开发者

Listing record specific nested data from a single store

I have a store, model, scriptTagProxy and custom Reader that consumes some json(p). The json describes a collection of objects. Each parent object hasMany child objects.

Is it possible to use an Ext.List to list all the children for a parent? - In my research it seems that you have to point a list at a store.

I would like alternatives to开发者_StackOverflow a nestedList.


Use store.filter('parentID', specificParentId); on the store that is binded to the list.

To change the items on the list to another parent clear the current filter first with store.clearFilter(false);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜