# Basic Edit Nodes

###### [ File Path: exedit/edit.html ]

- ## 1, Explanation of setting

  - This Demo only shows how to edit nodes using the basic method and configure parameters.
  - 1) Must set 'setting.edit' attributes, see the API documentation for more related contents.
  - 2) If you want to use remove / rename callback, muse to set 'setting.callback.beforeRemove / onRemove / beforeRename / onRename' attributes, see the API documentation for more related contents.
  - 3) zTree do not provide buttons for add nodes, please use the custom control methods 'addHoverDom / removeHoverDom' to achieve added functionality, see the API documentation for more related contents. Another way, you can see the demo named 'Advanced Edit Nodes'.

  - Edit button setting:
    show remove button show edit button
    title for remove:
    title for rename:

- ## 2, Explanation of treeNode

  - No special requirements on the node data, the user can add custom attributes.