## Boolean / Function(treeId, treeNode)setting.view.showTitle

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

Set to show or hide the 'title' attribute of node DOM.

Please see the setting.data.key.title attribute

Default: true

### Boolean Format

true means: show the 'title' attribute of node DOM.

false means: hide the 'title' attribute of node DOM.

When setting.view.showTitle = true & setting.data.key.title = '', zTree will set the 'setting.data.key.name' attribute to the 'setting.data.key.title'.

### Function Parameter Descriptions

#### treeIdString

zTree unique identifier: treeId.

#### treeNodeJSON

JSON data object of the node which need to show title.

#### Return Boolean

Return value is same as 'Boolean Format'

### Examples of setting & function

#### 1. Hide the 'title' attribute of node DOM.

    var setting = {
    	view: {
    		showTitle: false
    	}
    };
    ......

#### 2. Hide the 'title' attribute of node DOM which level=2.

    function showTitleForTree(treeId, treeNode) {
    	return treeNode.level != 2;
    };
    var setting = {
    	view: {
    		showTitle: showTitleForTree
    	}
    };
    ......