View Full Version : Problem NestedList: How to use simply Code

20 Sep 2011, 1:21 AM

I have a problem in my NestedList, in my View.
I don't know really how to use the tutorial code, cause all of that is use in app.js and i have some views and tabPanel.
I have my Store, my Model, and my View, it's a NestList view.
In my model: i have:

Ext.regModel('ListItem', {
fields: [
{name: 'text', type: 'string'},
{name: 'info', type: 'string'},
{name: 'model', type: 'string'},
{name: 'items', type: 'auto'},
{name: 'duration', type: 'auto'},

in my Store:

WPApp.NavigationListStore = new Ext.data.TreeStore({
model: 'NavigationListModel',
proxy: {
type: 'ajax',
url: '/data/tracks.json',
reader: {
type: 'tree',
root: 'items'

And in my navigationListView:

WPApp.views.NavigationListView = Ext.extend(Ext.NestedList, {
store: WPApp.stores.NavigationListStore,
initComponent: function() {

Ext.reg('NavigationListView', WPApp.views.NavigationListView);

For the moment, it's like the video tutorial, but nothing work. I have a white page :(

Then, how to implement the nestedList in a view from a tabPanel? :)

20 Sep 2011, 6:14 AM
I resolved this part of code.
If someone want how to do a nestedList in TabPanel, it's here: