callback

zTree

JSONcallback

目录: [参数说明] --> [setting 详解]概述

专门用于用户自定义各种 callback 回调函数。

默认值:

var setting = {
    callback : {
      beforeAsync:null,	//详情参考: beforeAsync
      beforeChange:null,	//详情参考: beforeChange
      beforeClick:null,		//详情参考: beforeClick
      beforeCollapse:null,	//详情参考: beforeCollapse
      beforeDblclick:null,	//详情参考: beforeDblclick
      beforeDrag:null,		//详情参考: beforeDrag
      beforeDrop:null,		//详情参考: beforeDrop
      beforeExpand:null,	//详情参考: beforeExpand
      beforeMouseDown:null,	//详情参考: beforeMouseDown
      beforeMouseUp:null,	//详情参考: beforeMouseUp
      beforeRemove:null,	//详情参考: beforeRemove
      beforeRename:null,	//详情参考: beforeRename
      beforeRightClick:null,	//详情参考: beforeRightClick

      confirmDragOpen:null,	//详情参考: confirmDragOpen
      confirmRename:null,	//详情参考: confirmRename

      asyncError:null		//详情参考: asyncError
      asyncSuccess:null,	//详情参考: asyncSuccess
      change:null,		//详情参考: change
      click:null,		//详情参考: click
      collapse:null,		//详情参考: collapse
      dblclick:null,		//详情参考: dblclick
      drag:null,		//详情参考: drag
      drop:null,		//详情参考: drop
      expand:null,		//详情参考: expand
      mouseDown:null,	//详情参考: mouseDown
      mouseUp:null,		//详情参考: mouseUp
      nodeCreated:null,	//详情参考: nodeCreated
      rename:null,		//详情参考: rename
      remove:null,		//详情参考: remove
      rightClick:null,		//详情参考: rightClick
    },
    ......
};