Uncaught TypeError: Cannot call method 'getRootNode' of undefined #1

Open
zvineyard opened this Issue Jun 8, 2011 · 2 comments

Projects

None yet

3 participants

@zvineyard

I've downloaded and ran this nested list example but I get the following error: "Uncaught TypeError: Cannot call method 'getRootNode' of undefined." Any idea what that means?

@RelaxLloyd

i built an identical replica version for training too, but i have the same Problem.
The json is valid and on the same webserver.

NestedListDemo.music_store = new Ext.data.TreeStore({
model: 'ListItem',
proxy: {
type: 'ajax',
url: 'Testdaten/catalouge.json', //klappt nicht?
reader: {
type: 'tree',
root: 'items'
}
}
});

@waitchen

maybe you had wrong import sequence,
first import app.js
then item.js ,store.js, viewport.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment