Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@zvineyard
Copy link

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
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants