diff options
Diffstat (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend/application/sample/source/html/test/TreeVirtual_1.html')
-rw-r--r-- | webapps/qooxdoo-0.6.5-sdk/frontend/application/sample/source/html/test/TreeVirtual_1.html | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/webapps/qooxdoo-0.6.5-sdk/frontend/application/sample/source/html/test/TreeVirtual_1.html b/webapps/qooxdoo-0.6.5-sdk/frontend/application/sample/source/html/test/TreeVirtual_1.html deleted file mode 100644 index 089aa0f582..0000000000 --- a/webapps/qooxdoo-0.6.5-sdk/frontend/application/sample/source/html/test/TreeVirtual_1.html +++ /dev/null @@ -1,67 +0,0 @@ -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>qooxdoo » Demo » Sample</title> - <link type="text/css" rel="stylesheet" href="../../css/layout.css"/> - <!--[if IE]> - <link type="text/css" rel="stylesheet" href="../../css/layout_ie.css"/> - <![endif]--> - <script type="text/javascript" src="../../script/sample.js"></script> -</head> -<body> - <script type="text/javascript" src="../../script/layout.js"></script> - - <div id="demoDescription"> - <p> - An example of using the Virtual Tree widget with addBranch() and addLeaf() - </p> - </div> - - <script type="text/javascript"> - qx.core.Init.getInstance().defineMain(function() - { - var d = qx.ui.core.ClientDocument.getInstance(); - - - var horiz = new qx.ui.layout.HorizontalBoxLayout; - - horiz.setPadding(10); - horiz.set({ - left:20, right:10, height:"100%", spacing:20 - }); - - var tree = new qx.ui.treevirtual.TreeVirtual(["Objects", "Date", "ID"]); - with (tree){ - setHeight ("100%"); - setWidth(900); - setColumnWidth(0, 400) - setColumnWidth(1, 200); - setColumnWidth(2, 50); - }; - - var data_model = tree.getDataModel (); - - var object_folder = - data_model.addBranch (null, - "Test", - false); - - data_model.addLeaf (object_folder, - "Test") ; - - data_model.setData(); - - if (false) - { - d.add (tree); - } - else - { - horiz.add (tree); - d.add (horiz); - } - - }); - </script> -</body> -</html> |