## String / Function(treeId, treeNode)setting.edit.renameTitle

### Overview[ depends on jquery.ztree.exedit js ]

the title of the rename button DOM. It is valid when [setting.edit.enable = true & setting.edit.showRenameBtn = true]

Default: "rename"

### String Format

When the mouse over the rename button, the browser auto pop-up message content.

### Function Parameter Descriptions

#### treeIdString

zTree unique identifier: treeId.

#### treeNodeJSON

JSON data object of the node which show the rename button

#### Return String

return value is same as 'String Format'

### Examples of setting & function

#### 1. Set title is 'rename the node' about all the rename button

    var setting = {
    	edit: {
    		enable: true,
    		showRenameBtn: true,
    		renameTitle: "rename the node"
    	}
    };
    ......

#### 2. Set title is 'rename the parent node' about the parent node, and is 'rename the leaf node' about the leaf node

    function setRenameTitle(treeId, treeNode) {
    	return treeNode.isParent ? "rename the parent node":"rename the leaf node";
    }
    var setting = {
    	edit: {
    		enable: true,
    		showRenameBtn: true,
    		renameTitle: setRenameTitle
    	}
    };
    ......