## Function(treeId, treeNode)setting.callback.beforeDblClick

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

Specify callback function, executed before the 'onDblClick' callback, The return value controls the 'onDblClick' callback.

Default: null

### Function Parameter Descriptions

#### treeIdString

zTree unique identifier: treeId.

#### treeNodeJSON

JSON data object of the node which is double clicked

If the DOM which dblclicked isn't a node, it will return null.

#### Return Boolean

return true or false

If return false, ztree will not trigger the 'onDblClick' callback, no effect on other operations.

This callback function does not affect the auto expand of the parent node , please refer to setting.view.dblClickExpand properties.

### Examples of setting & function

#### 1. disable to trigger the 'onDblClick' callback

    function myBeforeDblClick(treeId, treeNode) {
        return false;
    };
    var setting = {
    	callback: {
    		beforeDblClick: myBeforeDblClick
    	}
    };
    ......