You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>XML Grid Example</title>
  5. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  6. <!-- GC -->
  7. <!-- LIBS -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <!-- ENDLIBS -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <script type="text/javascript" src="xml-grid.js"></script>
  12. <link rel="stylesheet" type="text/css" href="grid-examples.css" />
  13. <!-- Common Styles for the examples -->
  14. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  15. </head>
  16. <body>
  17. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  18. <h1>XML Grid Example</h1>
  19. <p>This example shows how to load a grid with XML data.</p>
  20. <p>This grid also uses autoHeight and autoWidth to dynamically size to fit it's data and columns.</p>
  21. <p>Note that the js is not minified so it is readable. See <a href="xml-grid.js">xml-grid.js</a>.</p>
  22. <p>The data in the grid is loaded from <a href="sheldon.xml">sheldon.xml</a>, which is directly from an Amazon.com search.</p>
  23. <!-- a place holder for the grid. requires the unique id to be passed in the javascript function, and width and height ! -->
  24. <div id="example-grid"></div>
  25. </body>
  26. </html>