树结构加载添加callBack回调方法
This commit is contained in:
@ -1306,6 +1306,10 @@ var table = {
|
|||||||
}
|
}
|
||||||
var node = tree.getNodesByParam("id", treeId, null)[0];
|
var node = tree.getNodesByParam("id", treeId, null)[0];
|
||||||
$.tree.selectByIdName(treeId, node);
|
$.tree.selectByIdName(treeId, node);
|
||||||
|
// 回调tree方法
|
||||||
|
if(typeof(options.callBack) === "function"){
|
||||||
|
options.callBack(tree);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 搜索节点
|
// 搜索节点
|
||||||
|
Reference in New Issue
Block a user