我是Extjs4的新手。在我使用loader: new Ext.tree.TreeLoader()
时,Extjs4装载程序不工作。它显示像“Ext.tree.TreeLoader不是构造函数”的错误。它在extjs旧版本中正常工作。 请帮帮我。在此先感谢Ext.tree.TreeLoader不是构造函数错误
1
A
回答
2
在extjs 4组件Ext.tree.TreeLoader ist不再支持,现在你可以使用Ext.ComponentLoader,但我建议你使用Ext.data.TreeStore你可以配置加载类似Ext.tree.TreeLoader您的数据。对于文档使用ExtJS的4 API .. http://dev.sencha.com/deploy/ext-4.0.2a/docs/#/api/Ext.data.TreeStore
也可以检查一些例子,他们有: http://dev.sencha.com/deploy/ext-4.0.2a/examples/#sample-6
http://dev.sencha.com/deploy/ext-4.0.2a/examples/tree/check-tree.js
相关问题
- 1. OrbitalControls'THREE.Spherical不是构造函数'错误
- 2. 类型错误 - 不是构造函数
- 3. 错误:* .default不是构造函数
- 4. Ext.data.CFQueryReader不是构造函数错误
- 5. 错误:构造函数是私有
- 6. C + +构造函数错误
- 7. C++构造函数错误
- 8. jGit构造函数错误
- 9. 构造函数错误
- 10. 构造函数错误,找不到
- 11. 以前构建对象时不是构造函数错误
- 12. 错误“结构构造函数
- 13. Firebase不是构造函数
- 14. TypeError:L.Control.Draw不是构造函数
- 15. PrimeFaces.widget.InputText不是构造函数
- 16. Vue不是构造函数
- 17. Ext.ux.grid.GridSummary()不是构造函数
- 18. TypeError:cognitiveServices.face不是构造函数
- 19. actuate.Parameter不是构造函数
- 20. TypeError:AWS.DynamoDB.DocumentClient不是构造函数
- 21. THREE.FileLoader不是构造函数(...)
- 22. TypeError:fakeClass不是构造函数
- 23. TypeError:google.maps.Markers不是构造函数
- 24. LocalStrategy不是构造函数
- 25. google.maps.Polyline不是构造函数
- 26. ApiAiApp不是构造函数
- 27. $ .jqx.dataAdapter不是构造函数
- 28. google.maps.Overlay不是构造函数
- 29. TypeError:undefined不是构造函数
- 30. lime.fill.Frame不是构造函数