这种树形节点是自定义的,还有一种树形节点是绑定数据库的,在我的另外一篇文章里有写到。
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>树形节点</title>
<link href="~/Content/zTree_v3-master/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<script src="~/Content/bootstrap-3.3.7-dist/js/jquery-2.0.3.min.js"></script>@*放在所有的js插件之前*@
<script src="~/Content/zTree_v3/js/jquery.ztree.core.js"></script>
<script src="~/Content/zTree_v3-master/js/jquery.ztree.excheck.min.js"></script>
</head>
<body class="no-skin">
<div id="fenlei-box">
<div id="border">
<div id="shuju">
<div class="zTreeDemoBackground" left>