需要配置才能使Sencha ExtJS TreeGrid示例工作 [英] Configuration required to get Sencha ExtJS TreeGrid example working

查看:308
本文介绍了需要配置才能使Sencha ExtJS TreeGrid示例工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮助解释什么配置我缺少,以获得Sencha Ext JS 4框架TreeGrid示例工作?

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:

下载:

< a href =http://php.iis.net =nofollow> http://php.iis.net >点击Windows上的PHP>安装PHP53.exe >
http://www.sencha.com >点击产品>点击EXT JS 4 >将zip文件代码和位置解压缩到C:\source\ext-4.0.7-gpl

Downloads:
http://php.iis.net > click "PHP on Windows" > install "PHP53.exe"
http://www.sencha.com > click "Products" > click "EXT JS 4" > extract zip file code and place into C:\source\ext-4.0.7-gpl

在Windows 7程序中打开IIS 7和功能

Turned on IIS 7 in Windows 7 Programs and Features

在Windows 7中创建IIS 7网站:

- 将网站的物理路径设置为C:\source\ext- 4.0.7-gpl(设置根目录为* \docs似乎打破了一些例子)

- 我没有设置任何特殊的绑定(只是端口80).. localhost是隐藏而不设置它

Created IIS 7 website in Windows 7:
- set physical path of website to "C:\source\ext-4.0.7-gpl" (setting root of site to *\docs seemed to break some of the examples)
- I didn't set any special bindings (just port 80) .. localhost is implied without setting it

要尝试查看示例,我做了以下操作:

- 导航到 http:// localhost >点击查看示例>向下滚动到Trees部分
- 注意拖放重新排序树和XML树在这个部分中工作,当你有PHP安装,但树网格和检查树不。我最感兴趣的是TreeGrid。

To try and view the example, I did the following:
- navigate to http://localhost > click "View the Examples" > Scroll down to "Trees" section - notice that the "Drag and Drop Reordering", "Multiple Trees", and "XML Tree" work in this section when you have PHP installed, but the "Tree Grid" and "Check Tree" do not. I'm mostly interested in the "TreeGrid".

我在配置或设置中缺少什么?

What am I missing in my configuration or setup?

=== ==================================================== ====

=========================================================

我以为我有这个,但显然不是。我离开这个项目一段时间,所以我没有确认的答案。 treegrid.json文件绝对存在,它与sencha.com extjs树网格示例json文件中的文件匹配。

I thought I had this one solved, but apparently not. I left this project be for awhile, so I didn't confirm the answer. The treegrid.json file is definitely there, and it matches the file on the sencha.com extjs tree grid example json file.

这是我的树网格示例的URL (复制自Sencha的例子):

Here is the URL to my tree grid example (copied from Sencha's example):

http://24.177.214.232:8888/examples/tree/treegrid.html

以下是Sencha.com树形网格示例的网址:

Here is the URL to the Sencha.com tree grid example:

http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/tree/treegrid.html

推荐答案

除了描述的其他配置,我不得不进入IIS,并在树网格工作之前执行以下操作:

Apart from the other configuration described, I had to go into IIS and do the following before the Tree Grid worked:


  • 点击新网站

  • 点击MIME类型

  • 在开放空间中右键单击>添加>文件扩展名:json... MIME类型:application / x-javascript

这篇关于需要配置才能使Sencha ExtJS TreeGrid示例工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆