Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
考虑在TreeView里加入编辑功能,有实现过的吗? 提供些思路啊,有现成模块更好
@yczxxr 加上editable="bottom"或者editable="top"就可以了吧
editable="bottom"
editable="top"
那个是listview里的编辑功能,现在想要实现的是在树状图里编辑,就是可以展开折叠的那个,如下图
V11中不再支持这种层级关系树视图了。 如果是之前的版本,可以设置tree_but_open属性,使得点击树上的项目可以打开对应表单视图。
tree_but_open
<act_window id="my_action" name="My Action" res_model="my.object" src_model="my.object" res_id="active_id" view_type="form" view_mode="form,tree" key2="tree_but_open"/>