Configuration required to get Sencha ExtJS TreeGrid example working

后端 未结 2 1493
忘掉有多难
忘掉有多难 2020-12-02 01:33

Can someone help explain what configuration I\'m missing to get the Sencha Ext JS 4 framework TreeGrid sample working?

Here\'s what I\'ve done so far:

Down

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 02:05

    if you inspect treegrid.js you'll see that it requires treegrid.json (JSON-formatted data file). when you visit http://24.177.214.232:8888/examples/tree/treegrid.json (which is the path where treegrid.js expects treegrid.json) you'll see, that there is no such file.

    fix the path or create a data file : )

    EDIT you can find proper JSON here: http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/tree/treegrid.json

提交回复
热议问题