<html>
<head>
<title>Binary Star 树控件常用方法和属性</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="../css/bs.css" rel="stylesheet" type="text/css">
<style>
body{font-family: verdana;font-size: 9pt;}
table{font-family: verdana;font-size: 9pt;}
a{font-family: verdana;font-size: 9pt;color: blue;}
.table_a{border: #bababa 1px solid;border-top: White 0px solid;}
.table_b{border-left: #bababa 1px solid;}
.table_c{border: #bababa 1px solid;}
.table_d{border-bottom:#bababa 1px solid;}
.td_a{background:url(../images/qq.gif);background-repeat:repeat-x;}
.td_b{border-right: #bababa 1px solid; width:150px;}
.td_c{border-bottom: #bababa 1px solid; width:150px;}
.td_d{border-bottom: #bababa 1px solid; width:150px;border-right: #bababa 1px solid; width:150px;}
.button_a{cursor: hand;}
.h1{font-family: verdana;font-weight: normal;font-size: 9pt;color:blue;}
.h1_1{font-family: verdana;font-weight: normal;font-size: 9pt;color:black;}
.h2{font-family: verdana;font-weight: normal;font-size: 9pt;color:red;}
.h2_2{font-family: verdana;font-weight: normal;font-size: 9pt;color:green;}
.h3{font-family: verdana;font-weight: bold;font-size: 10pt;}
</style>
<SCRIPT language=javascript src="../js/bs.js"></SCRIPT>
<SCRIPT language=javascript src="../js/bsrightmenu.js"></SCRIPT>
<SCRIPT language=javascript src="../js/treeview.js"></SCRIPT>
<SCRIPT language=javascript>
var function_tree = new BSTreeView("function_tree", "frmBusiness", false, "", false);
function_tree.setImagesPath("../images/");
function_tree.setShowLine(true);
function_tree.setShowNodeImg(true);
function_tree.setShowAddImg(true);
var thisShowDiv = "";
function setDivShow(inID){
if (thisShowDiv!=""){
document.getElementById(thisShowDiv).style.display = "none";
}
if (inID != ""){
document.getElementById(inID).style.display = "block";
document.getElementById(inID).style.overflow="auto";
}
thisShowDiv = inID;
}
</SCRIPT>
</head>
<body leftMargin="0" topMargin="0" rightMargin="0" scroll="no" >
<table align="center" style="width:100%;height:100%;" class="table_a" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25px" style="" align="left" style="border-right: #bababa 1px solid;" class="td_a"><nobr> 对象结构树</nobr>
</td>
<td height="25px" style="" align="left" class="td_a" width="100%"><nobr> 方法/属性说明</nobr>
</td>
<td height="25px" style="" align="right" class="td_a"><nobr>[<a href="../index.htm">回首页</a>] [<a href="treetest.htm">如何使用Binary Star 树控件</a>] </nobr>
</td>
</tr>
<tr>
<td style="width:220px;height:100%;" class="td_b" valign="top">
<div style="width:220px;height:100%;overflow:auto;">
</br>
<SCRIPT language=javascript>
var rootNode = function_tree.addRootNode("bstreeview", "BSTreeView对象", "function_tree.getSelectNode().expand();setDivShow('bstreeview')", "", "", false, false, -1, "hfold_open.gif", "hfold_close.gif", "package.gif");
//方法
var funcNode = rootNode.addNode("bstreeview_f", "常用方法", "function_tree.getSelectNode().expand();setDivShow('');", "", "", false, false, -1, "hfold_open.gif", "hfold_close.gif", "package.gif");
var oneNode = funcNode.addNode("root.addNode", "addNode", "setDivShow('root_addNode')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("添加单个节点");
oneNode = funcNode.addNode("root.addRootNode", "addRootNode", "setDivShow('root_addRootNode')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("为树控件添加根节点");
oneNode = funcNode.addNode("root.changeNode", "changeNode", "setDivShow('root_changeNode')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("树节点的调度");
oneNode = funcNode.addNode("root.closeById", "closeById", "setDivShow('root_closeById')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据索引,关闭指定节点");
oneNode = funcNode.addNode("root.closeByName", "closeByName", "setDivShow('root_closeByName')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据关键字,关闭指定节点");
oneNode = funcNode.addNode("root.doActivedById", "doActivedById", "setDivShow('root_doActivedById')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("根据索引,触发树节点的JS操作,并激活节点");
oneNode = funcNode.addNode("root.doActivedByName", "doActivedByName", "setDivShow('root_doActivedByName')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据关键字,触发树节点的JS操作,并激活节点");
oneNode = funcNode.addNode("root.doCheckBox", "doCheckBox", "setDivShow('root_doCheckBox')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("触发点击指定节点CheckBox的操作");
oneNode = funcNode.addNode("root.DrawTree", "DrawTree", "setDivShow('root_DrawTree')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("展现树");
oneNode = funcNode.addNode("root.expandById", "expandById", "setDivShow('root_expandById')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("根据索引,打开/关闭指定节点");
oneNode = funcNode.addNode("root.expandByName", "expandByName", "setDivShow('root_expandByName')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据关键字,打开/关闭指定节点");
oneNode = funcNode.addNode("root.isDisabled", "isDisabled", "setDivShow('root_isDisabled')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("得到树的可用标志");
oneNode = funcNode.addNode("root.getCheckedNodes", "getCheckedNodes", "setDivShow('root_getCheckedNodes')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("得到CheckBox选择中的节点列表。");
oneNode = funcNode.addNode("root.getDeep", "getDeep", "setDivShow('root_getDeep')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("得到树的深度");
oneNode = funcNode.addNode("root.getNodeById", "getNodeById", "setDivShow('root_getNodeById')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据索引查找树节点");
oneNode = funcNode.addNode("root.getNodeByName", "getNodeByName", "setDivShow('root_getNodeByName')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据关键字查找树节点");
oneNode = funcNode.addNode("root.getSelectNode", "getSelectNode", "setDivShow('root_getSelectNode')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("得到当前激活的节点对象");
oneNode = funcNode.addNode("root.openById", "openById", "setDivShow('root_openById')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("根据索引,打开指定节点");
oneNode = funcNode.addNode("root.openByName", "openByName", "setDivShow('root_openByName')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("根据关键字,打开指定节点");
oneNode = funcNode.addNode("root.removeNode", "removeNode", "setDivShow('root_removeNode')", "", "", false, false, -1, "package_obj.gif", "package_obj.gif", "package_obj.gif");
oneNode.setTitle("删除节点");
oneNode = funcNode.addNode("root.removeRoot", "removeRoot", "setDivShow('root_removeRoot')", "", "", false, false, -1, "package.gif", "package.gif", "package.gif");
oneNode.setTitle("删除根节点");
oneNode = funcNode.addNode("root.searcNodesByName", "searcNodesByName", "setDivShow('root_searcNodesByName')", "",
没有合适的资源?快使用搜索试试~ 我知道了~
js写得功能超完备的树、日历控件
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共139个文件
gif:112个
htm:15个
js:8个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
需积分: 9 5 下载量 34 浏览量
2008-09-02
10:59:01
上传
评论
收藏 246KB RAR 举报
温馨提示
js写得树、日历控件,不仅功能超完备,而且调用方便
资源推荐
资源详情
资源评论
![audio/mpeg](https://img-home.csdnimg.cn/images/20210720083646.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![js](https://img-home.csdnimg.cn/images/20210720083646.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
共 139 条
- 1
- 2
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
tianbeibei
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)