Web Demo Mobile Demo Angular Demo Vue Demo React Demo

Tree Node Icons

This sample illustrates how to add icons to tree node.

    <!DOCTYPE html>
    	<meta charset="UTF-8">
    	<title>Tree Node Icons - 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>Tree Node Icons</h2>
    	<p>This sample illustrates how to add icons to tree node.</p>
    	<div style="margin:20px 0;"></div>
    	<div class="easyui-panel" style="padding:5px">
    		<ul class="easyui-tree" data-options="url:'tree_data2.json',method:'get',animate:true"></ul>