xml-grid.html 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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. <link rel="stylesheet" type="text/css" href="../../resources/css/xtheme-default.css" />
  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="../examples.css" />
  15. <link rel="stylesheet" type="text/css" href="../lib.css" />
  16. </head>
  17. <body>
  18. <script type="text/javascript" src="../examples.js"></script>
  19. <h1>XML Grid Example</h1>
  20. <p>This example shows how to load a grid with XML data.</p>
  21. <p>This grid also uses autoHeight and autoWidth to dynamically size to fit it's data and columns.</p>
  22. <p>Note that the js is not minified so it is readable. See <a href="xml-grid.js">xml-grid.js</a>.</p>
  23. <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>
  24. <!-- a place holder for the grid. requires the unique id to be passed in the javascript function, and width and height ! -->
  25. <div id="example-grid"></div>
  26. </body>
  27. </html>