Web Demo Mobile Demo Angular Demo Vue Demo React Demo

Basic Tree

Click the arrow on the left to expand or collapse nodes.

  • My Documents
    • Photos
      • Friend
      • Wife
      • Company
    • Program Files
      • Intel
      • Java
      • Microsoft Office
      • Games
    • index.html
    • about.html
    • welcome.html
<!DOCTYPE html>
	<meta charset="UTF-8">
	<title>Basic Tree - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
	<h2>Basic Tree</h2>
	<p>Click the arrow on the left to expand or collapse nodes.</p>
	<div style="margin:20px 0;"></div>
	<div class="easyui-panel" style="padding:5px">
		<ul class="easyui-tree">
				<span>My Documents</span>
					<li data-options="state:'closed'">
						<span>Program Files</span>
							<li>Microsoft Office</li>