]> git.proxmox.com Git - extjs.git/blame - extjs/build/examples/classic/videos/tree.html
add extjs 6.0.1 sources
[extjs.git] / extjs / build / examples / classic / videos / tree.html
CommitLineData
6527f429
DM
1<!DOCTYPE html>\r
2<html>\r
3<head>\r
4 <meta http-equiv="X-UA-Compatible" content="IE=edge">\r
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
6 <title>Trees</title>\r
7 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/>\r
8\r
9 <!-- GC -->\r
10\r
11 <script type="text/javascript" src="../../ext-all.js"></script>\r
12</head>\r
13<body>\r
14 <script type="text/javascript" charset="utf-8">\r
15 Ext.require();\r
16\r
17 Ext.onReady(function() {\r
18 Ext.create('Ext.tree.Panel', {\r
19 renderTo: Ext.getBody(),\r
20 width: 400,\r
21 height: 600,\r
22 title: 'Categories',\r
23 rootVisible: false, //IT'S UGLY THAT I HAVE TO DO THIS\r
24\r
25 //ALSO, INCREDIBLY, IF I DELETE THE ROOTVISIBLE LINE THIS DOESN'T WORK AT ALL :/\r
26\r
27 store: {\r
28 autoLoad: true,\r
29 proxy: {\r
30 type: 'ajax',\r
31 url: 'tree.json'\r
32 }\r
33 }\r
34 });\r
35 });\r
36 </script>\r
37</body>\r
38</html>\r