ExtJs 4 的 TreeGrid 和 TreePanel 组件有什么区别?
我想知道 ExtJS 4 的 TreeGrid 和 TreePanel 组件有什么区别?
我正在寻找一些组件,它允许我显示行和子行(用于切片和骰子类型的仪表板),但在 ExtJS 4 中找不到类似的东西。
我遇到了 TreeGrid 和 TreePanel,但不确定哪一个是最新的,要用哪个?
请赐教!
I would like to know whats the difference between TreeGrid and TreePanel components of ExtJS 4?
I was looking for some component which will allow me to display rows and sub rows (for slice and dice kind of dashboard) but couldn't find anything similar in ExtJS 4.
I came across TreeGrid and TreePanel but not sure which one is latest and which to be used?
Please enlighten !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想使用树面板。我相信树形网格的名称是一个遗产。这是这种野兽的一个非常好的干净示例: http://docs.sencha.com/ext-js/4-0/#!/example/tree/treegrid.html
请注意他们没有重命名该示例:)
You want to use Treepanel. I believe treegrid name is a legacy cary over. Here is a very nice clean example of such a beast: http://docs.sencha.com/ext-js/4-0/#!/example/tree/treegrid.html
Notice how they did not rename the example :)