带有编辑器列的 ExtJs TreeGrid。存在吗?
我需要能够编辑树形网格的网格列中的值。简单地向列的配置添加编辑器并没有帮助。我正在使用 ExtJs4 树面板组件。
有什么想法吗?
I need an ability to edit values in a grid column of a treegrid. Simply adding a editor to the column's config didn't helped. I'm using ExtJs4 treepanel component.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,它存在。
我建议使用最新版本,目前是 4.1 Release Candidate 1。
使用 Ext.Tree.Panel
添加一个网格编辑插件,如下所示:
使至少一列可编辑,如下所示
您基本上是在组合以下内容:
http://docs.sencha.com/ext-js/4-0/#!/example/tree/treegrid.html
和这个:
http://docs.sencha.com/ext-js/4-0 /#!/example/grid/cell-editing.html
Yup, it exists.
I would recommend using the latest version, which at this time is 4.1 Release Candidate 1.
Use an Ext.Tree.Panel
add a Grid Editing plugin, like this:
make at least one of the columns editable like this
You are basically combining this:
http://docs.sencha.com/ext-js/4-0/#!/example/tree/treegrid.html
and this:
http://docs.sencha.com/ext-js/4-0/#!/example/grid/cell-editing.html
找到了解决方案:
http://www.sencha .com/forum/showthread.php?131602-4.0.0-Cellediting-on-TreeGrid
http://www .sencha.com/forum/showthread.php?143983-Problems-Trying-To-Edit-Tree-Panel-ExtJS-4
found the solution:
http://www.sencha.com/forum/showthread.php?131602-4.0.0-Cellediting-on-TreeGrid
http://www.sencha.com/forum/showthread.php?143983-Problems-Trying-To-Edit-Tree-Panel-ExtJS-4