Nested List, Multiple Layouts

我怕爱的太早我们不能终老 提交于 2019-11-29 08:20:47

From my Sencha Experience, my advice would be never to use Ext.NestedList. Of course they are quite handy when your model is very simple but hard to customize when you model contains associations for instance.

So what I would do (and did) is to use an Ext.navigation.View and push new lists as you tap on items of previous lists. This is the exact same concept as a Ext.NestedList so it won't overload your application.

Here is an example based on your data

If you have any question feel free to ask

Hope this helped

I think your defaultRootProperty is wrong for the treeStore.

It should be

defaultRootProperty: 'Jobs',

API reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!