Answered: not able to display tree grid with hard coded values using plain html page

Answered: not able to display tree grid with hard coded values using plain html page

Hi,
I am a beginner in Ext JS and i am asked to perform one simple task of displaying a tree grid using plain HTML page of which i am using hard coded values for data. But, i am not able to display this.
Please find my code below and suggest me if i am doing anything wrong.

ext-base.js doesn't exist in ExtJS 4. Remove that line and change ext-all.js to ext-all-dev.js. The paths also look suspicious to me, looks like you're doing some seriously dodgy things with accessing files off the file-system.

Open up a debugger and view the network traffic, make sure all the files are loading correctly.

HI sword..thanks for your informative reply..But, it is still not working with me..It is showing me the error "You are using a servor Proxy but have not supplied it with a URL". Can you please tell me where i am doing wrong

You need to give an proxy to your store.
When the model was registered, you did not supply a proxy configuration on the model. As a result, the model manager assigned a default proxy (which is has a default proxy type of 'ajax').

correct me if i am wrong

correct me if i am wrong

Originally Posted by sword-it

Hi!

You need to give an proxy to your store.
When the model was registered, you did not supply a proxy configuration on the model. As a result, the model manager assigned a default proxy (which is has a default proxy type of 'ajax').

Sword, thanks for your replies and hearing to me patiently.
Now everything is almost done except the data not being displayed.I doubt whether the json format i am using is correct. Please have a look at this